I've been trying to move the "+" and "-" options on the map to another location on the page, based on some requirements I have. When I try and use the sliderPosition option defined in the ArcGIS API, the zoom buttons stretch across the map incorrectly, and the buttons stay in the position at the top left.
To simplify, I went into the demo code I can download, and I added the options I wanted. For example, in the fullmap-template/index.html, I over-wrote the new map constructor:
When I render the page on my local server, it looks like this:
I've been trying to figure out if there is a limitation to this, but I can't seem to find a lot of documentation on the extra options. For reference, here is the ArcGIS API:
I've been trying to move the "+" and "-" options on the map to another location on the page, based on some requirements I have. When I try and use the sliderPosition option defined in the ArcGIS API, the zoom buttons stretch across the map incorrectly, and the buttons stay in the position at the top left.
To simplify, I went into the demo code I can download, and I added the options I wanted. For example, in the fullmap-template/index.html, I over-wrote the new map constructor:
When I render the page on my local server, it looks like this:
I've been trying to figure out if there is a limitation to this, but I can't seem to find a lot of documentation on the extra options. For reference, here is the ArcGIS API:
https://developers.arcgis.com/javascript/jsapi/map.html