[OpenLayers-Users] events destroy does not work

bradleyspencer brad at cubewerx.com.au
Mon Apr 30 19:18:24 EDT 2007


Guys,

I need to activate a map event for interactive data collection of markers
into a database. In order to not conflict with other mouse events I want to
have the click event active temporarily while the user selects the location
for the point completes a form and then on submission deactivates the event.
I tried OpenLayers.Events.destroy(); to do this but FF says this is not a
function. I am using http://openlayers.org/api/2.4-rc1/OpenLayers.js as my
code base.

Is this not the way to go and if so what is the alternative?

Cheers,

Brad Spencer
General Manager
CubeWerx Australia Pty Ltd
ABN: 37 115 163 285
Mob: +61 (0)404 841 131
Tel/Fax: +61 (0)2 9481 7024
mailto:brad at cubewerx.com.au
http://www.cubewerx.com.au

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070501/4604a94b/attachment.html


More information about the Users mailing list