Not able to navigate through reference map {Scanned} {Scanned} {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Wed Jul 11 07:59:08 PDT 2007
Hi,
Your solution use a static image, not clickable.
Change your reference image from this
> <img name="reference" src="graphics/reference.gif" height="120"
> width="120" border="1">
to this
<input type="image" name="reference" src="[ref]" height="120"
width="120" border="1">
Meanwhile you should insert REFERENCE block into your map file, e.g.
REFERENCE
IMAGE graphics/reference.gif
EXTENT ??? ??? ??? ???
SIZE 120 120
STATUS ON
... # see the map file reference
END
I send the mail to the list to, it can help someone else.
Bye,
Zoltan
On Wed, 11 Jul 2007, SATish In Athens +30 6947758275 wrote:
> Thanks a lot..
> but yes, i have tried with putting in a form.. when I attached "input" tag
> with it, got an error..
> Well, my reference tag is like below, please have a look of it
>
>
> <li class="last" >
> <!--this is the holding spot (the anchor) for the reference
> map-->
> <DIV id="reference_anchor" align="center" style="position:relative;
> visibility:visible; width:100%; height:100%;left:0px;
> top:5px;left:-18;margin-bottom:0;">
>
> <img src="graphics/white_pixel.gif" height="120" width="120"></DIV>
>
> <!-- absolutely positioned layer to hold the reference map-->
> <DIV id="reference" style="position:absolute; visibility:visible;
> width:100%; height:100%; clip:rect(100%,100%,100%,100%);
> background:transparent;">
>
> <img name="reference" src="graphics/reference.gif" height="120"
> width="120" border="1"></DIV>
>
> </li>
>
>
> So, i m not sure how to use input tag in it..
> regards..
> Satish
>
>
>
> On 7/11/07, Siki Zoltan <siki at agt.bme.hu> wrote:
>>
>> Hi,
>>
>> Did you put the reference map into a input field of your form?
>> Like:
>> <input name="ref" type="image" src=[ref]>
>>
>> Bye
>> Zoltan
>>
>> On Wed, 11 Jul 2007, SATish In Athens +30 6947758275 wrote:
>>
>> > Hey all..
>> > I am trying to create my own map and it is working correct but when I
>> click
>> > on the reference map then instead of navigating to the right place in
>> main
>> > map , the map looses the focus..
>> > And, after that map is required to be reloaded again..
>> > So, this is something missing in map file or in HTML of the page ?
>> >
>> >
>> > Any response will be highly appreciated..
>> > Thank you
>> >
>>
>
More information about the MapServer-users
mailing list