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

Andrew DeMerchant andrew.demerchant at gemtec.ca
Mon Aug 25 10:13:48 EDT 2008


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 <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the mapguide-users mailing list