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: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, June 16, 2011 2:16 PM To: Lime, Steve D (DNR) Cc: [email protected] 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 [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
