This is a migrated thread and some comments may be shown as answers.
geoJSON issue
3 Answers 16 Views
Map
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 25 Sep 2017, 04:43 PM

New user here - I am trying to set up a SharePoint site (2010/2013 on prem) and insert the Kendo UI map control with the geoJSON data to create a clickable world map.  I have follow the example and uploaded all the corresponding files.

I can get the regular map to display, but the geoJSON map is just blank, with the zoom/pan controls visible. I know there were other threads saying to be sure that you added json to the MIME types, but that appears to already be there in IIS on my SharePoint server.

Here is what I am seeing (attached).

Any other thoughts/suggestions?  Is there any particular issue with using this control in SharePoint?

 

Thanks

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 27 Sep 2017, 03:42 PM

Hello John,

I guess the problem here is rather related to the ajax request requesting the geo json data. Try to open the network tab and check if the request for the geo json fails. 

Regards,
Boyan Dimitrov
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.
0
Natasa
Top achievements
Rank 1
answered on 06 Mar 2019, 04:39 PM

I have the same issue just with JQUERY. Map witj geojson data just won load. I see the zoom controls, I also am sure that geojson data is provided. I also tried to store geojson data into 'data' variable and to mimic the request like this transport: {
read: function (transportOptions) {
transportOptions.success(data);
}
},

 

 

but no luck .. I just see the controls but no map. I use Kendo UI v2018.3.1017. Other maps are working but geojson is not. :/ Please help.

0
Alex Hajigeorgieva
Telerik team
answered on 08 Mar 2019, 01:44 PM
Hello, Natasa,

I tested the Kendo UI Map in the same manner as you have indicated and the map renders correctly when the JSON is valid and correct:

https://dojo.telerik.com/@bubblemaster/ePulaJoK

To see something rendered on the map, you should double check the zoom and the map centre as well.

If you wish, you could share with us a small sample of the GeoJSON for us to test locally so we can make suggestions about what might be causing this behaviour.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Map
Asked by
John
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Natasa
Top achievements
Rank 1
Alex Hajigeorgieva
Telerik team
Share this question
or