Hi, im reactivating this thread to know if any recent changes has been added to ESRI iFrame in order to control behavior of the zoom and scale options ? I have similar issue as Chris and Andrew and really hoped to find a way to fix this for my website...
Thanks in advance!
In the new embed, included in the last release of ArcGIS Online, you can disable scroll wheel zoom using the undocumented disable_scroll url parameter. Set this to true and it will disable the scroll wheel for zooming.
Here's an example:
<iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.arcgis.com/apps/Embed/index.html?webmap=677d824f10b649249000ef034502ed5b&extent=-116.5532,33.8612,-115.7951,34.2242&zoom=true&scale=true&theme=light&disable_scroll=true"></iframe>
Hi Tina,
There is another question I have regarding the template.
One of the map journals for Mega Cities
<http://storymaps.esri.com/stories/2014/growth-of-cities/> developed by
ESRI includes a mini-map in the header of the content bar on the left side.
We would like to have the same functionality for our template, since we are
using the same map journal template, but could not figure out yet how to
embed the mini-map into the bar.
You can find our journal here <http://tcc.greenpeace.or.th/>, it would be
great if you could tell us how this can be done.
Thank you very much in advance and I am looking forward to hearing from you.
Best,
David
Anyway, i have try kelly's iframe settings but it does not works for me. It looks like it works only for simple maps but does not works with maps embed in Arcgis story map applications like this one for example : The Age of Megacities
David,
The url parameter to disable zoom when scrolling is not available for all templates. If you are hosting the Storymaps template on your own web server you can update the code to disable scrolling using code like this:
this.map.disableScrollWheelZoom();
I have this html code of the story map I did. How will I disable the auto scroll wheel zoom?
<iframe
width="100%" height="95%"
scrolling="no" marginheight="0" marginwidth="0"
src="https://crsorg.maps.arcgis.com/apps/SimpleViewer/index.html?appid=93417eb1a55248c9bf54768b379d0578&embed"
</iframe>
Thanks,
Mike