Mobile example with hold support

mobile hold clickhold taphold

A mobile map which shows how to handle hold-events.

This map shows how one can interact with taps the user places on the map.

You can zoom in and out (through the plus and minus button), pan and pinch the above map, but in addition, when...

This is accomplished though a custom Clickhold-control, that uses 'click', 'clickhold' and 'dblclick'-functionality of the Click-handler.

See the file mobile-hold.js too see how to use the custom control.