[mapguide-users] Failt to zoom to location based on parameter
input
Campbell, Keith A
keith.campbell at atkinsglobal.com
Mon Jul 9 04:02:25 EDT 2007
Assuming the php example is similar to the asp example then I don't
think you can call it directly like that. Gotopoint is called from the
task pane of an existing layout where the other elements, specifically
the map frame already exist. It doesn't create a layout with a map
frame, etc in it, so your app will need to do that first, and then run
the gotopoint script. This can be done with an unload event client-side,
but you'll need to make sure that the reference to the mapframe is
correct (in terms of the page object model) and that the frame is
instantiated when the zoomtoview method is called
(http://www.nabble.com/Problem-with-ZoomToView-during-onload-event-tf383
5370s16610.html#a10858737)
Hope this helps.
Keith
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of bongtk
Sent: 09 July 2007 03:32
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Failt to zoom to location based on parameter
input
dear all,
goodday!
i'd tested search parcel function using sheboygan data. One of the
processes is it is able to create the hyperlink that zoom to specific
location through calling in "gotopoint.php" script. i'm thinking of to
use the same script, "gotopoint.php" script to navigate to any specific
location through the web address.
however, i encountered failure when i entered the following address.
"http://20.117.23.51:8008/mapguide/oraclespatialwgsonestopmall/gotopoint
.php?X=110.3&Y=1.554699640984&Scale=2000"
any suggestion to amend the script or the link in order to make it
works?
thanz in the advance.
regards, bongtk
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
This message has been scanned for viruses by MailControl - (see
http://bluepages.wsatkins.co.uk/?6875772)
This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.
The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.
Consider the environment. Please don't print this e-mail unless you really need to.
More information about the mapguide-users
mailing list