Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Updating OpenLayers ZoomToExtent control

I have OpenLayers control defined like, // Zoom to Extent control var zoomToExtentControl = new ol.control.ZoomToExtent({ extent: [73.19, 15.12, 81.80, 22.77] }); Which will give us Extent button on ...
SpiderMan's user avatar
1 vote
1 answer
95 views

Esri Oceans Basemap fullwidth

I am using in my project the Esri Ocean Basemap. I use the fullscreen control to enlarge it, but when enabled the map is not covering the whole screen. The HTML structure is as follows: <div id=&...
Elena Politi's user avatar
1 vote
1 answer
3k views

Layer selection in Openlayers 3

I'm trying to develop a robust way to generate a UI incorporating map layer controls such as a base layer selector. I've read several posts including this recent one but I'm still not able to change ...
dvmac01's user avatar
  • 1,065
2 votes
1 answer
2k views

External layer switcher and layer order

So I'm using an external layer switcher because I need it imbedded in a bootstrap dropdown menu. It works really great except for one thing.... when I change between viewing my base layers, the ...
Dean's user avatar
  • 567
12 votes
5 answers
20k views

Missing LayerSwitcher in OpenLayers3?

I was wondering if there is a LayerSwitcher control in OpenLayers 3? I read that ol3 is a complete rewrite. But I can't seem to find the equivalent of LayerSwitcher from http://openlayers.org/en/...
tinlyx's user avatar
  • 11.2k
4 votes
1 answer
2k views

OpenLayers Full Screen control not working [closed]

I have a problem with OpenLayers controls. I have two controls which are perfectly working, var mousePositionControl = new ol.control.MousePosition({ coordinateFormat: ol.coordinate....
serifsadi's user avatar
  • 169