function north(){ myMap.panUp(); }
Up: map._fixedPan(0, map.height * -0.0135) Right: map._fixedPan(map.width * 0.0135, 0) Down: map._fixedPan(0, map.height * 0.0135) Left: map._fixedPan(map.width * -0.0135, 0)
PS don't worry, I haven't sold out and decided to include pan arrows on my map. This is for something else 🙂
it'd be a nice enhancement request to be able to specify the amount of the pan.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.