Solved it: The problem was, that I was using the mobile API. I have switched
to the normal API and added the touch controls since it solved some other
"problems" as well.

The code above works fine, I just substituted the Openlayers.mobile.js with
Openlayers.js. For those who now want to know how to access attributes of
the selected feature, simply like this:

e.G. alert("You Clicked on ".+e.feature.attributes.Name); // with "Name"
being the attributes name.

Cheers,
Freddy



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Pinch-Zoom-Drag-while-having-an-active-clickControl-tp5134932p5135373.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to