Selection-Issue with interim release

3 messages Options
Embed this post
Permalink
Andreas Morf

Selection-Issue with interim release

Reply Threaded More More options
Print post
Permalink
Hi all
A few days ago I wrote about a selection problem in the interim build
(selection not displayed on the map) - after investigating a bit the
attached patch resolved the problem for me:

-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

Can anyone review the attached patch?

Andreas

_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Andreas Morf

Repost: Selection-Issue with interim release

Reply Threaded More More options
Print post
Permalink
...somehow the attached patch was lost in space:

Index: MapGuide.js
===================================================================
--- MapGuide.js (revision 1889)
+++ MapGuide.js (working copy)
@@ -899,7 +899,9 @@
             if (oNode.hasSelection) {
               if (this.selectionAsOverlay) {
                 if (!this.queryLayer) {
-                  this.queryLayer = this.createOLLayer("query layer",
false, true, 5);
+//                  this.queryLayer = this.createOLLayer("query layer",
true, 5);
+                  this.queryLayer = this.createOLLayer("query layer",
false, 5);
+                  this.queryLayer.isBaseLayer = false;
                   this.mapWidget.oMapOL.addLayer(this.queryLayer);
                   this.mapWidget.registerForEvent(Fusion.Event.MAP_LOADING,
                         OpenLayers.Function.bind(this.removeQueryLayer,
this));


Andreas

> Hi all
> A few days ago I wrote about a selection problem in the interim build
> (selection not displayed on the map) - after investigating a bit the
> attached patch resolved the problem for me:
>
> -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
>
> Can anyone review the attached patch?
>
> Andreas

_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Jason Birch

RE: Selection-Issue with interim release

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andreas Morf
Hi Andreas,

Yes, the mailing list strips off unknown attachments.

For this kind of problem, I'd suggest filing a ticket against Fusion's Trac system.

http://trac.osgeo.org/fusion/wiki/FilingBugs

I've submitted this problem and potential solution on your behalf here:

http://trac.osgeo.org/fusion/ticket/276

Jason

-----Original Message-----
From: Andreas Morf
Sent: Tuesday, August 11, 2009 6:57 AM
Subject: [mapguide-internals] Selection-Issue with interim release

A few days ago I wrote about a selection problem in the interim build (selection not displayed on the map) - after investigating a bit the attached patch resolved the problem for me:

-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

_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals