problems with nquerymap SOLVED
Sean Grimland
skgstyle at YAHOO.COM
Thu Oct 18 10:32:56 PDT 2007
Problem solved. I modified a CSS tag from:
background: #fff url(bl_grad.jpg) fixed;
to:
background-image:url(bl_grad.jpg);
and that fixed the problem.
Cheers,
Sean
--- Sean Grimland <skgstyle at YAHOO.COM> wrote:
> Hi list,
>
> I have a probably simple problem. I am generating a
> very simple map of Californian with counties from a
> mapfile using php mapscript. I want to be able to
> click on a county and open a new web page. The
> problem I am having is that where I click on the map
> and where Mapserver thinks I click is very
> different.
>
>
> This is the html
>
> <div class="feature">
> <form action="mapserv" method="get" id="the_map" />
> <input type="hidden" name="mode" value="nquerymap"
> />
> <input type="hidden" name="qlayer" value="County" />
> <input type="hidden" name="imgext" value="-124.41
> 32.53 -119.12 42.00" />
> <input type="hidden" name="map" value="<?php echo
> "mapfile/".$mapfileName.".map"; ?>" />
> <input type="hidden" name="program" value="mapserv"
> />
> <input type="hidden" name="savequery" value="true"
> />
> <input name="img" type="image" src="<?php echo
> $image_url; ?>" />
> </form>
>
> And this is a portion of the mapfile
>
> CLASS
> NAME 'Mendocino'
> EXPRESSION '06045'
> TEMPLATE '/na/usa/cal/06045'
> STYLE
> OUTLINECOLOR 0 0 0
> COLOR 107 62 199
> END
> END
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MapServer-users
mailing list