you have the global JS variables
var minx_geo, maxy_geo;
var xdelta_geo, ydelta_geo;
that you can use for calculating the extent of the current map.
armin
Sven Schroeter wrote:
> Hallo,
>
> I'm using the showGroupInfo function in custom.js to open metadatainfos
> (works fine):
>
> function showGroupInfo(group) {
> var winurl = 'http://server/metadata/metadata_view.php?layername=' +
> group;
> window.open(winurl, "resultwin");
> }
>
> I want to send the acual mapextent to my linked application like this
>
> function showGroupInfo(group) {
> var winurl = 'http://server/metadata/metadata_view.php?layername=' +
> group+'&mapextent='+ext;
> window.open(winurl, "resultwin");
> }
>
> How can I get the actual extent via javascript from the client?
> Thanks
> Sven
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users