MapGuide selection fails to draw
|Reported by:||jbirch||Owned by:||zjames|
|External ID:||Operating System:||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