Removing Functionality....on purpose.

789
2
04-08-2010 06:58 AM
MicahWilliamson
Occasional Contributor II
I have a javascript API application that uses the geocode locator and query function. The problem is that my users don't know all about the <click> functions of the API (pan, zoom, rectangle zoom etc...). They constantly use the number pad to enter addresses, no big deal, right?  Problem is that sometimes the map is selected and when they enter a 2,4,6,8 the map moves and the number is not entered into the address form.

it would be easy from me to say, Do this or do that to them, but then they are unhappy users and complain about it not being user friendly.

I want to be able to remove those API functions; NO pan, NO mouse wheel Zoom, NO arrow key pan just return the image of the map, no interaction.

Is there a sample for this, did i miss it?
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
The 'Map navigation' help topic contains information about how to disable/enable various map navigation functionality like pan, zoom, scroll wheel zoom etc.

http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_navigation.htm
0 Kudos
MicahWilliamson
Occasional Contributor II
@kelly exactly what i was looking for!
thank you!

-Micah
0 Kudos