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

bubble type layer with geojson

3 Answers 45 Views
Map
This is a migrated thread and some comments may be shown as answers.
HiveOut
Top achievements
Rank 1
HiveOut asked on 31 May 2017, 11:03 AM

Hi Frds i have requirement like need to draw a bubble on kendo map from geojson response.

I am receiving data like [Longitude, Latitude] but when i try to plot this on map kendo consider this like [latitude, longitude] . Please do needful help for me.

Thanks in advance.

 

3 Answers, 1 is accepted

Sort by
0
HiveOut
Top achievements
Rank 1
answered on 31 May 2017, 11:47 AM

this is the sample code.

http://jsbin.com/cayoderuqe/1/edit?html,output

 

0
HiveOut
Top achievements
Rank 1
answered on 31 May 2017, 11:47 AM

This is  the sample code

http://jsbin.com/cayoderuqe/1/edit?html,output

 

0
Konstantin Dikov
Telerik team
answered on 02 Jun 2017, 07:52 AM
Hello,

The Map widget excepts the location field in the [Latitude, Longitude] format and if you are receiving the data in reverse you should modify the array prior to the binding. You could use schema.parse to modify the array:
For your convenience, here is a dojo example with such approach:

Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Map
Asked by
HiveOut
Top achievements
Rank 1
Answers by
HiveOut
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or