Select to view content in your preferred language

Finger tap vs OnMapClick in IOS

625
1
08-08-2013 10:11 AM
Syvertson
Frequent Contributor
How does one get a finger tap in a map window of my web app (ArcGIS API for Javascript) to be recognized as an "OnMapClick" event. Several different functions in my web app use thins as a trigger, but that part does not work when the app is accessed on an iPad.
0 Kudos
1 Reply
derekswingley1
Deactivated User
The map's click event is triggered by a mouse click or a tap on a device with a touch screen. This code:

map.on("click", clickHandler);


Will cause the clickHandler function to run if the map is clicked or tapped.
0 Kudos