[OpenLayers-Dev] Map event confusion
jansen at terrestris.de
Thu Mar 25 17:38:17 EDT 2010
so it is safe to assume that those events aren't used from within
At least I don' feel so stupid anymore :-) (Beacause I couldn't get the
to work with simple examples)
Marking those in events as currently unused / obsolete (as with the
drag*-group of events) is an absolute necessity in my eyes. The
API-documentation lead me to trying these events out.
Thanks for the response,
Tim Schaub schrieb:
> Marc Jansen wrote:
>> Hi devs,
>> I am rather confused about the documentation about map-events. Is it
>> right that
>> * addmarker,
>> * removemarker,
>> * clearmarkers,
>> * dragstart,
>> * dragend,
>> * drag
>> are defined but never get triggered?
>> If so, they should IMHO be removed from the EVENT_TYPES-array and the
>> documentation for that.
> The problem with removing things from the EVENT_TYPES array is that
> there could be applications that have subscribers for them and use
> map.events to publish.
> If we remove those entries, those applications break.
> I know this is silly. You are right to point out that there is little
> sense and lots of confusion in having them.
> Our safest bet is to mark them as unused and remove them in 3.0. If
> others think the caution is not needed, I wouldn't be opposed to
> removing them.
>> Please ignore the mail if I missed something fundamental (but please
>> enlighten me where these events are triggered)
>> Dev mailing list
>> Dev at openlayers.org
More information about the Dev