[mapguide-users] Select features on map load

Mauricio Villablanca mgvillablanca at yahoo.com
Thu Jul 23 03:27:37 EDT 2009


Check out the GetSelectionXML() function in the query.php file from the
phpviewersample demo
(http://download.osgeo.org/mapguide/releases/2.0.0/samples/phpviewersample.zip) 
to see how it's done in PHP.



Paulo Veríssimo wrote:
> 
> Hi
> 
> Does anyone have done this operation?
> I want to call the map page from another web application so I can see the
> feature selected in that web application.
> With this funcionality, I want to make a button in the web application
> saying "see this feature on map page" that calls the map page and
> highlighs and zooms the feature on map load.
> I am using the ajax viewer and php.
> The idea is to call the Mapguide URL invoking the layer name and the
> objectid, something like this:
> 'http://mapguideserver/mapguidesite/mapguideviewerpage.php?layername=layerX&objectdid=123'
> Can this be done this way? Is there is a onLoad event? Where can I find
> it? How do I pass the url parameters there?
> 
> Thank you
> 
> Paulo
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Select-features-on-map-load-tp3174763p3307996.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list