[Mapserver-users] Changing inline features with CGI parameters

Jan Hartmann jhart at frw.uva.nl
Tue Feb 3 04:45:24 PST 2004


J. Delfos wrote:
> This may be a very simple (read: dumb) solution, but instead of using
> map-server to display your error message of "no data to display", perhaps
> you should use a DHTML solution, e.g.:
> 
> - a transparent DIV, on top of your map. You can change the text in a div
> dynamically (using innerhtml), and turn off the div if not needed.
> - when there's no layer, replace the DHTML image with your own image (and
> do not resubmit your form).
> 
> This may not be what you're looking for, but it seems more straightforward
> and flexible to do it this way.
> 
> 
> regards,
> 
> Jacob
> 

Yes, in most cases that would be a simpler solution. In my case however, 
I also want to put messages relative to geographical items in the map 
(TRANSFORM FALSE) and for that I need MapServer to position everything.

Jan




More information about the MapServer-users mailing list