Move geolocate button on handheld device
Hi, anyone know how to change the position of the geolocate button for a handheld device? It is positioned at bottom left and I would like to move it to top left below the "I want to" menu. I know I can provide a custom css file to change how the interface looks at .....virtualDirectory\resources\styles\custom\handheld.css. That said, i'm stuggling to figure out how the button is positioned and what to add to the css file.
Thanks
0
-
You need to modify the JSON file for that.
There is a "region" setting that controls where the button is located.
The viewer admin guide has a section in the appendix that shows all the regions.0 -
Great. Thanks for the tip. For anyone else interested, its in the navigation module. Find the view with an id of "GeolocateButtonView", and change the region value as desired. I changed it to "TopLeftMapRegion". 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer