I'm trying to add a zoom slider to a footer section and can't seem to get it to work. I created this jsfiddle :
https://jsfiddle.net/befoley/xuhm1ph4/6/ . Any ideas ?
Solved! Go to Solution.
The first issue is that you left out "ContentPane" in your function arguments. It needs to be put between BorderContainer and HorizontalSlider. The data on the map was not showing up due to a "Cross-Origin Request Blocked" error.
The first issue is that you left out "ContentPane" in your function arguments. It needs to be put between BorderContainer and HorizontalSlider. The data on the map was not showing up due to a "Cross-Origin Request Blocked" error.
Thanks Ken, exactly what I was looing for. How could you tell that it was a Cross-Origin Request Blocked ?
That was showing up in the browser console. This is an important tool to use when developing.
Ken, how do I get the slider to actually zoom-in/zoom-out ?