AW: [Cartoweb-users] mapOverlay

Lauber Christoph ch.lauber at geo-thun.ch
Thu Jun 5 05:04:21 EDT 2008


I recover the user from client side. Does this exclude one of your propositions (initialize and/or initializeRequest)?

Christoph

-----Ursprüngliche Nachricht-----
Von: Oliver Christen [mailto:oliver.christen at camptocamp.com] 
Gesendet: Donnerstag, 5. Juni 2008 11:01
An: Lauber Christoph; cartoweb-users at lists.maptools.org
Betreff: Re: [Cartoweb-users] mapOverlay


maybe try to do it in earlier stage like "initialize" or "initializeRequest" 
(depending if you need to recover some value from the exchange request 
object from client side)
you have an example of initialize in ServerSearch.php
and of initializeRequest in ServerImages.php

regards
Oliver



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:oliver.christen at camptocamp.com]
Gesendet: Donnerstag, 5. Juni 2008 10:49
An: Lauber Christoph; cartoweb-users at 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 at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>





More information about the Cartoweb-users mailing list