Hi all,

Is there a way I could add additional parameters to event listeners? Please
refer to this example:

var control = new OpenLayers.Control.DrawFeature(
  someLayer, OpenLayers.Handler.Point, {
    featureAdded: someFunction
  });

...

function: someFunction(feature, param2) {
...
}

In the abovementioned example, how can I get the featureAdded event to
insert additional parameters to the "someFunction" method?

Thanks!!!

Ads
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Insert-additional-parameters-to-event-listeners-tp5073085p5073085.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to