[Mapbender-users] zoom to coordinates out of a popup window
a_voit at gmx.at
Tue Apr 13 09:58:58 EDT 2010
I'd like to press a button in a popup window and then it should zoom to
I found the tool "zoomCoords" in GUI1. But that only works if it is used
in the map user interface. I want to uses it in a popup window.
so it has problem to find the function "zoom", I guess it is a map
specific function and is only available at the map gui.
As you can see in the code example there is use a variable
"mod_zoomCoords_target", which I guess is "mapframe1,overview".
So I tried to make a url query string to my own gui element button:
height=600, scrollbars=yes, resizable=yes");');'<?php
In my form.php I want to save the value of target into a variable like:
Then I get an error: Fatal error: "Function name must be a string in
In summery I want to zoom to a location in a map, by pressing a custom
button, which is in a popup window.
Does anyone know a solution, I would be happy ;)
Windows XP + SP3
Database Postgres 8.4 + PostGIS
2700 Wiener Neustadt
More information about the Mapbender_users