[mapguide-users] Selecting and Zooming to Features - AJAX Viewer
Ivan Milicevic
Ivan.Milicevic at supranet.hr
Tue Jul 7 03:38:16 EDT 2009
I thik that you can't speed up your selection. The delay depends on many
things but the main reason is feature source (joins with database).
Are you using the tiled base layers?
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Praveen
Rajendra Babu
Sent: Tuesday, July 07, 2009 2:23 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Selecting and Zooming to Features - AJAX
Viewer
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/def99fc7/attachment.html
More information about the mapguide-users
mailing list