Just wondering what is better
1. http://dev.openlayers.org/releases/OpenLayers-2.3/examples/lonlatfrompx.html OpenLayers.Event.observe($('map'),"click",mapclicked.bindAsEventListener(map)); or map.events.register("click", map, mapclicked); >> I read the first way doesn't always work on ie or something like that? OR another way which somehow works slower but i'm capable to control it by using activate \ deactivate 2. http://openlayers.org/dev/examples/click.html var click = new OpenLayers.Control.Click(); map.addControl(click); click.activate(); for now, I'm using the second way because I can control it on\off but it seemes to work slower than the first method. Why is that? ----------------- jumpNg
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
