0.1
Robin Hawkes 2014-02-12 00:10:23 +00:00
rodzic ada0042e71
commit 0fec2f7106
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -6,6 +6,8 @@
// http://www.paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
// http://benalman.com/projects/javascript-debug-console-log/
// TODO: Fix line numbers
// TODO: Update to use formatted output (colour, tables, style, etc)
// - https://coderwall.com/p/fskzdw
// - https://github.com/adamschwartz/log

Wyświetl plik

@ -130,6 +130,11 @@
tags.height = this.processHeight(tags);
tags.colour = this.processColour(tags);
// TODO: Calculate area
// getGeodesicArea from http://dev.openlayers.org/releases/OpenLayers-2.10/lib/OpenLayers/Geometry/LinearRing.js
// More info: http://gis.stackexchange.com/a/8496/14967
// tags.area;
ways.push({
coordinates: coordinates,
properties: tags