tombatossals / angular-openlayers-directive

AngularJS directive to embed an interact with maps managed by the OpenLayers library
http://tombatossals.github.io/angular-openlayers-directive/
MIT License
282 stars 183 forks source link

Projection #372

Open evisms opened 7 years ago

evisms commented 7 years ago

Hi,

When I get layers from my geoserver I get lon/lat points, but when I get the point info from a feature event the points are in meters I get the point info from the feature-> geometry.j[0] and geometry.j[1]. Where is that reprojection done? How could I get my point info in lon/lat?

Thanks in advance.

sathishatnet commented 6 years ago

Hi, If you create map object for EPSG 4326 projection, then you will be getting value in the Lat/Lng.