diff --git a/src/client/Log.js b/src/client/Log.js index 3084e63..7595193 100644 --- a/src/client/Log.js +++ b/src/client/Log.js @@ -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 diff --git a/src/client/data/DataOverpass.js b/src/client/data/DataOverpass.js index d814cfb..8ab61fb 100644 --- a/src/client/data/DataOverpass.js +++ b/src/client/data/DataOverpass.js @@ -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