Hi,
How can I do something like this in OpenLayers, dev.openlayers.org/releases/OpenLayers-2.13.1/examples/all-overlays-google.html,
where the map is being rendered from the server-side, and the base layers can be toggle on/off on the client side?
My requirement is to display a map initially without any base layer visible.
Thanks,
Benito Gamas
Map Base Layers
Hi Benito,
Please try the below codes:
OnMapCreating = function (map) {
map.allOverlays = true;
}
let us know if there is any questions.
Thanks,
Johnny