[mapserver-users] get imgext value to javascript function

Stephen Lime steve.lime at dnr.state.mn.us
Mon Aug 20 10:31:47 PDT 2001


Sure, in your template just do something like:

  ...
  mapextent([minx], [miny], [maxx], [maxy]);
  ...

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Chan B. Huynh" <chuynh at ideorlando.org> 08/14/01 11:22AM >>>

Is it possible to get the spatial extent of the existing inline image from
CGI variable imgext [minx] [miny] [maxx] [maxy] to a javascript function

ie: function mapextent(minx,miny,maxx,maxy){}

???

thanks
-chan





More information about the MapServer-users mailing list