[OpenLayers-Users] transformations
Chris Jackson
webturtles at gmail.com
Sun Dec 8 14:17:18 PST 2013
Hi all
I am trying to transform a bounding box from EPSG:4326 to EPSG:3857 (map
projection).
bbox = layerDetails.bbox.transform(new OpenLayers.Projection('EPSG:4326'),
map.getProjectionObject());
This seems to just fall into a heap!
bbox = layerDetails.bbox works ok, just returns co-ordinates in the layer
projection EPSG:4326.
Am I missing a step?
Thanks
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131208/41394010/attachment.html>
More information about the Users
mailing list