Hi Oliver I call the method $mapOverlay->updateMap($map); in the handlePreDrawing function in the server part of my plugin.
Regards Christoph -----Ursprüngliche Nachricht----- Von: Oliver Christen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 5. Juni 2008 10:49 An: Lauber Christoph; cartoweb-users@lists.maptools.org Betreff: Re: [Cartoweb-users] mapOverlay Hi Christoph maybe you are doing it too late, after the query functionality gets some result. In which function did you add the mapoverlay code ? regards Oliver > hi list > > i developed a plugin using mapOverlay to approve data individually to > users. that works great for drawn layers. but i got a queryable layer for > user information on surveying plans and there the query result is shown > even if the data is not drawn. > > the test i made: > when i replace the layer in the original mapfile by the created layer of > the plugin (from debugging map) and i deactivate the plugin, everything > works like it should. that means that the data is not drawn and no query > result is returned. > > are these two cases not contradictory? any idea how i can solve the > problem? > > > > > Mit freundlichen Grüssen > > > Christoph Lauber > > Dütschler & Naegeli, Vermessung+Geoinformation AG > Fliederweg 11, Postfach, 3601 Thun > > _______________________________________________ > Cartoweb-users mailing list > Cartoweb-users@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/cartoweb-users > _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users