[Mapserver-users] Re: extent

pkishor_98 pkishor at geoanalytics.com
Tue May 27 09:28:32 EDT 2003


--- In mapserver-users at yahoogroups.com, "Dwijadas  Dey" <dwija_dey at r...> wrote:
> 
> Hi
>    ListUser
> 
>           Again asking for small help.What should be the 
> appropriate
> value of img.x and img.y so that after clicking a point on a map 
> in the browser with selecting appropriate option(e.g. Zoom in by  
> 10) the
> output in the browser i.e a map, should display the point i 
> selected
> earlier. 

img.x and img.y are the coordinates of your mouse click. If your image is a form 
element called then these coords are automatically generated by the browser.

Once you have these coords through HTTP GET or POST, you can transform them into 
geog coords and zoom in/out or pan accordingly.

Look at the coding in the demo.




> Right now if i click a point in the browser the devation 
> is
> very large.Sometimes it comes out from the extent.
> 
>   Thanking you all in advance.
> 
> 
>                             With regards
>                            "Dwijadas Dey"
> ___________________________________________________
> Get email that means BUSINESS! me @ mycompany.com.
> Just Rs.1499/year.
> To start, click http://www.rediffmailpro.com
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at l...
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list