[mapguide-users] Select features on map load

GreenMapSanMiguel webmaster at SMAmap.com
Wed Jul 22 10:49:55 EDT 2009


Hi,

 

I'm attaching the file executed by my hidden script frame  in the hopes that
it will bring me good karma and someone will help me fix the problems I'm
having with Fusion.  I stumbled my way through this when I was learning
MapGuide so there are probably better ways to do it - but it works!

 

Good luck,

 

Andy

 

 

From: Thierry_M (via Nabble) [mailto:ml-user+250506-318835818 at n2.nabble.com]

Sent: Wednesday, July 22, 2009 3:54 AM
To: GreenMapSanMiguel
Subject: Re: [mapguide-users] Select features on map load

 

Hi Andy, 
I want to do exactly the same thing, but i can't see the PHP code in your
Scriptframe. 
Do I miss something ? is there a way to get this code ? 

Thank you. 




GreenMapSanMiguel wrote:

Hi Paulo, 

I think I am doing exactly what you want to do.  I have some ordinary HTML
pages with information about various locations that include a link to a Map
Guide map.  The URL passes the layer and feature name so that the map
selects and zooms to the specific location on open.  Here's a sample URL: 

http://smamap.com/mapguide/GreenMapSanMiguel/index.php?LAYER=food
<http://smamap.com/mapguide/GreenMapSanMiguel/index.php?LAYER=food&LOCATION=
BOVE&END> &LOCATION=BOVE&END

I'm using a PHP script in a hidden frame to accomplish this.  It is rather
long to include here, but if you go to the URL above and view the source,
you will see a frameset called ScriptFrame.  The 'src' for the frame is the
URL of the php script, which you may be able to modify to meet your needs. 

Good luck, 

Andy 

 

  _____  

View message @
http://n2.nabble.com/Select-features-on-map-load-tp3174763p3301945.html 
To unsubscribe from Re: Select features on map load, click
< (link removed) 
hcC5jb218MzIzNTEzMnw1MjQ3ODY4ODY=>  here. 

 


 
-- 
View this message in context: http://n2.nabble.com/Select-features-on-map-load-tp3174763p3303666.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090722/0f0250c5/attachment.html


More information about the mapguide-users mailing list