[OpenLayers-Users] Mobile Support: Handling a tap like a mouse
click...
Lime, Steve D (DNR)
steve.lime at state.mn.us
Thu Jun 16 17:32:40 EDT 2011
Hi Chris: Using a click handler worked, thanks for the pointer. Interestingly registering a maps move event does continue to work. http://maps1.dnr.state.mn.us/compass/mobile/index.html
Steve
-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of christopher.schmidt at nokia.com
Sent: Thursday, June 16, 2011 2:16 PM
To: Lime, Steve D (DNR)
Cc: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Mobile Support: Handling a tap like a mouse click...
On Jun 16, 2011, at 12:05 PM, ext Lime, Steve D (DNR) wrote:
> Hi All: With the new mobile support how does one make a tap behave like a traditional mouse click. I don't
> need tap-pan support. In the past I'd simply register a click event and callback:
>
> map.events.register("click", map, myClickHandler);
>
> It's not clear to how this is done with the touch events (using v11-rc1). Any suggestions appreciated!
Steve,
Are you saying that on a mobile device, registering click events
doesn't work? have you tried using a click Handler instead?
-- Chris
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list