[mapguide-users] Selecting and Zooming to Features - AJAX Viewer
Praveen Rajendra Babu
prbabu at openspatial.com.au
Mon Jul 6 20:22:53 EDT 2009
Hi,
Trying to figure out the best way to zoom and select features. This is w.r.to AJAX Viewer.
What I do right now in sequence is:
* Get the selection XML using MapGuide Web API
* Call the function mapFrame.SetSelectionXML(...) with the selection XML
* Call the function mapFrame.ExecuteMapAction(10)
When doing this, there is a delay between the selection/highlighting of features on the map and then zooming to the features.
Sometimes the delay between highlighting and zooming is minor and many times it is easily noticeable and this seems to be a bit "not-nice",
in a very polite sense!
Wondering, am I doing things the right way? Is there any better way to highlight and zoom features?
Does Fusion come better in this basic set of activities?
Thanks for your time.
-Praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090707/e2c71aca/attachment.html
More information about the mapguide-users
mailing list