[fusion-users] legend.currentRange JavaScript Error?
GordonL
gordon.luckett at arrowgeomatics.com
Mon Jun 22 14:08:12 EDT 2009
Thanks Paul, actually, I tried the non-compressed build, here is the error:
Webpage error details
Message: 'legend.currentRange' is null or not an object
Line: 523
Char: 9
Code: 0
URI: http://squamish2010.ca/mapguide2010/fusion/widgets/Legend.js
thanks
gordon
ps, here is line 222 on...
var range = layer.getScaleRange(fScale);
if (range == layer.legend.currentRange && layer.legend.treeItem) {
return;
}
Paul Spencer-2 wrote:
>
> um, the ever unhelpful single file compressed build :)
>
> On 19-Jun-09, at 6:14 PM, GordonL wrote:
>
>>
>> Sure, the error is in the template INDEX.HTML
>>
>> LINE 2
>> CHAR 562901
>>
>> thanks
>> gordon
>>
>>
>>
>>
>> Paul Spencer-2 wrote:
>>>
>>> sounds familiar, I think this is/was a problem in Legend.js but I
>>> can't remember if it was fixed or not. Do you have a line number?
>>>
>>> Paul
>>>
>>> On 19-Jun-09, at 3:46 PM, GordonL wrote:
>>>
>>>>
>>>> Just to follow up. This error shows in the JavaScript at the bottom
>>>> of the
>>>> browser when using FUSION.
>>>>
>>>>
>>>>
>>>> GordonL wrote:
>>>>>
>>>>> Hi All, does anyone know how to get rid of the legend.currentRange
>>>>> error?
>>>>>
>>>>> I can't see to see where it is coming from. All my layers seem to
>>>>> work.
>>>>>
>>>>>
>>>>> thanks
>>>>> gordon
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n2.nabble.com/legend.currentRange-JavaScript-Error--tp3058103p3121772.html
>>>> Sent from the Fusion Users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> fusion-users mailing list
>>>> fusion-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>
>>>
>>> __________________________________________
>>>
>>> Paul Spencer
>>> Chief Technology Officer
>>> DM Solutions Group Inc
>>> http://research.dmsolutions.ca/
>>>
>>> _______________________________________________
>>> fusion-users mailing list
>>> fusion-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/legend.currentRange-JavaScript-Error--tp3058103p3122442.html
>> Sent from the Fusion Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> fusion-users mailing list
>> fusion-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
> __________________________________________
>
> Paul Spencer
> Chief Technology Officer
> DM Solutions Group Inc
> http://research.dmsolutions.ca/
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
--
View this message in context: http://n2.nabble.com/legend.currentRange-JavaScript-Error--tp3058103p3137807.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list