[Mapserver-users] Re: extent

pkishor_98 pkishor@geoanalytics.com
Tue, 27 May 2003 13:28:32 -0000


--- In mapserver-users@yahoogroups.com, "Dwijadas  Dey" <dwija_dey@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@l...
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users