filosganga / geogson

GeoJSON support for Google gson library
Apache License 2.0
69 stars 28 forks source link

do not check lon and lat of Coordinates supporting also metric CRS #27

Closed bkiselka closed 10 years ago

bkiselka commented 10 years ago

do not check lon and lat parameters in constructor of Coordinates supporting also metric CRS (Coordinate Reference Systems):

define lon and lat like in OpenLayers (see constructor http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/BaseTypes/LonLat-js.html ) allowing alternative map units (kilometer, meter, mile, foot and inch) additional to degree (idea from http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.units )