[mapguide-users] Fusion bug - themed layers (legend)

Zac Spitzer zac.spitzer at gmail.com
Mon Aug 25 10:16:04 EDT 2008


patience is a virtue :)

On Tue, Aug 26, 2008 at 12:13 AM, Andrew DeMerchant
<andrew.demerchant at gemtec.ca> wrote:
> Ah - so it is....I'll update that to show the fix - then hopefully someone
> will commit it.
>
> Andrew
>
> Zac Spitzer wrote:
>
> it's in trac http://trac.osgeo.org/fusion/ticket/112
>
> On Mon, Aug 25, 2008 at 11:40 PM, Andrew DeMerchant
> <andrew.demerchant at gemtec.ca> wrote:
>
>
> Can someone with the authority to update the SVN (which I apparently don't
> have) please change line 1207 in MapGuide.js from this:
>
> url += "?OPERATION=GETLEGENDIMAGE&SESSION=" + layer.oMap.getSessionID();
>
> to this:
>
> url += "OPERATION=GETLEGENDIMAGE&SESSION=" + layer.oMap.getSessionID();
>
> Note the lack of the question mark.....by the time the code runs to this
> point, "url" already has a ? at the end of it...so this line makes a double
> question mark, which ends up killing the legend icons for themed layers.
>
> thanks
>
> Andrew
>
>
> --
> Andrew DeMerchant
> Computer Technologist
> ph.1-877-2GEMTEC x.163
> fax 506-453-9470
>
> GEMTEC Limited
> 191 Doak Road
> Fredericton, NB, Canada
> E3C 2E6
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
> --
> Andrew DeMerchant
> Computer Technologist
> ph.1-877-2GEMTEC x.163
> fax 506-453-9470
>
> GEMTEC Limited
> 191 Doak Road
> Fredericton, NB, Canada
> E3C 2E6
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list