onload select a feature

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

onload select a feature

makoychan
Is there a way to right-away select a feature on mapload on fusion?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: onload select a feature

GordonL
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: onload select a feature

makoychan
Thanks Gordon. But a quick question about this, does this assume that you
know the map you are loading?

Because on my approach i have multiple maps and initially before anything
else i use the mapguide api to change the filter of the layer for a certain
map to load then thats the only time i needed to do a feature selection..

Right now what i am doing is on the initPanelHandler() i call do the
querycontroller.php to select a feature but this approach is somewhat a hit
or miss on the loaded maps.. because sometimes it selects the feafure 1st
then maps finishes rendering or sometimes map finishes rendering but the
selection would trigger 2-3 seconds late.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapguide-users