[fusion-trac] #276: MapGuide selection fails to draw
Fusion
trac_fusion at osgeo.org
Tue Aug 11 11:30:04 EDT 2009
#276: MapGuide selection fails to draw
-----------------------+----------------------------------------------------
Reporter: jbirch | Owner: madair
Type: defect | Status: new
Priority: P2 | Milestone: 2.0
Component: Widgets | Version: SVN
Severity: Major | Keywords:
External_id: | State: New
Browser: All | Os: All
-----------------------+----------------------------------------------------
This was reported by two users, on mapguide-users and mapguide-internals.
-----------
selection only displays selected objects in the selection panel but are
not highlighted on the map
-----------
-----------
After loading the map and doing a search, selection of a feature
(setSelection with zoom) works the first two times a feature is selected
from the results list except that the selection is not highlighted. The
status bar and selection pane do correctly show that 1 feature is
selected.
In previous builds the feature was highlighted correctly.
The third and subsequent times a feature is selected, a series of pink
boxes with an 'x' in the upper left corner (broken image link?) appear
instead of the map. Clicking on one of these boxes causes the map to
reappear with the correct extents for the selected feature (but the
feature still is not
highlighted.) Looks like it is trying to display a tiled map, but I am
not using tiling.
-----------
Andreas Morf came up with a potential solution (I'll attach a patch) with
the following notes about the problem:
- The original call had the wrong number/types of parameters
- the tiled version of the query layer didn't work for me, so I changed
it to singletile
- if the query layer has isBaseLayer=true, the layer is not
redrawn/adjusted when zooming around
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/276>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list