vendredi 30 janvier 2015

OpenLayers map with Nominatim lookup function not working


I am trying to create a simple map with a search function, my minimal example is here: http://ift.tt/1yeSznf


For some reason the coords transformation after the script has received data from nominatim from EPSG 4326 to EPSG 3857 does not work well, even though it does work in an earlier instance in the script (right at the beginning).I have stepped through the function and the x - coord seems to be fine but the y - coord is wildly off.


Has anyone encountered a similar problem?


Cheers,


Tim.





Aucun commentaire:

Enregistrer un commentaire