I am using Openlayers and OSM to show a GPX tracklog file and all loads well
with the viewport updating to a best fit of the GPX data.

I now need to get the extents of the map/layer in Lat/Lon to allow me to
query a point layer via ajax and load local content as vector points. I can
see I need the current bounds with a transform to get the four extents.

I can't get past stage one, map.getExtents() or layer.getExtents() always
return null and throw an error.

Can anyone help?

-- 
View this message in context: 
http://n2.nabble.com/Help-with-getExtents%28%29-tp3397508p3397508.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to