geoJSON issue

4 posts, 0 answers
  1. John
    John avatar
    3 posts
    Member since:
    Jun 2017

    Posted 25 Sep 2017 Link to this post

    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

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2026 posts

    Posted 27 Sep 2017 Link to this post

    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.
  3. Natasa
    Natasa avatar
    4 posts
    Member since:
    May 2018

    Posted 06 Mar Link to this post

    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.

  4. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    590 posts

    Posted 08 Mar Link to this post

    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.
Back to Top