[mapguide-users] Fusion query()ing from any zoom level

Kimmo Kotajärvi Kimmo.Kotajarvi at vianova.fi
Thu May 8 05:49:53 EDT 2008


I'm trying to use the javascript query function. Take this fictional example, executed from inside the task pane:

 

Var options = {};

Options.layers = 'roads_layer';

Options.filter = 'road_width > 5';

Parent.Fusion.getWidgetById('Map').query(options);

 

This works nicely when the "roads_layer" is actually visible, but not when the map is zoomed out far enough. What I finally want to achieve is: User clicks on an asp.net generated list of objects -> query and select -> zoom extents to selection.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080508/386307ec/attachment.html


More information about the mapguide-users mailing list