This is a migrated thread and some comments may be shown as answers.

this._size is undefined error

6 Answers 17 Views
Map
This is a migrated thread and some comments may be shown as answers.
Kevin F
Top achievements
Rank 1
Kevin F asked on 08 May 2020, 07:37 PM

I'm forced to upgrade jQuery to 3.4.1 because of security implications, and now I get an error working with a bubble layer.  Using jQuery 1.12.4 the error does not occur.

KendoUI 2020.1.114 is listed as compatible with 3.4.1.  I am using 2020.1.406 so I just assumed it is compatible.  This is part of a MVC application. 

I've attached the stack trace from the debugger console.  Any help is greatly appreciated since I am forbidden to use any earlier versions of jQuery.

Thanks!

 

Kevin

 

 

6 Answers, 1 is accepted

Sort by
0
Kevin F
Top achievements
Rank 1
answered on 08 May 2020, 07:58 PM

An additional note.  The map is inside a kendoWindow which is not visible when the page first loads.  Attached is the stack trace for when the page first loads.

 

0
Kevin F
Top achievements
Rank 1
answered on 08 May 2020, 08:28 PM

More notes: 

If I remove the bubble layer the error goes away.  Here is the definition for the bubble layer:

layers.Add()
    .Type(MapLayerType.Bubble)
    .DataSource(d => d
        .Custom()
        .Transport(new
        {
            read = new Kendo.Mvc.ClientHandlerDescriptor() {HandlerName = "getRadiusDataSource"}
        })
    ) // DataSource
    .SymbolHandler("radiusSymbol")
    .LocationField("LatLng")
    .ValueField("Value");

 

0
Kevin F
Top achievements
Rank 1
answered on 08 May 2020, 08:29 PM

Workaround:

Make the kendoWindow visible at first, then close it immediately.

0
Georgi
Telerik team
answered on 12 May 2020, 12:46 PM

Hello Kevin,

I tried to replicate the behavior on my end but no error seems to be displayed. Below you will find the sample I used for testing:

Could you please let me know what I am missing?

Regards,
Georgi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Kevin F
Top achievements
Rank 1
answered on 12 May 2020, 09:01 PM

Hi Georgi - 

Thanks for the reply.  Would bootstrap be causing this issue perhaps?  That's the kendo theme I am using.

0
Georgi
Telerik team
answered on 14 May 2020, 11:39 AM

Hi Kevin,

I have tested the same with our bootstrap theme but the issue still does not replicate:

Regards,
Georgi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Map
Asked by
Kevin F
Top achievements
Rank 1
Answers by
Kevin F
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or