In Openlayers I can zoom to the bounding box of all layers like this:
map.zoomToExtent();
I can also zoom to the bounding box of a single layer:
map.zoomToExtent(layer_name.getDataExtent());
Is there an easy way of zooming to the extent of all layers except the base layer? In other words showing the extent of all overlays.
No comments:
Post a Comment