Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Splinx 49 posts 184 karma points
    Jul 06, 2018 @ 15:34
    Splinx
    0

    Importing from old site that was using AngularMaps

    Hi Jonathon,

    Firstly - thank you for the excellent Terratype maps - they're great!

    I am trying to import around 300 locatiosn from an old Umbraco site using the previous GoogleAngluarMaps data type.

    The issue I am having is that I cannot seem to import the data from GoogleAngularMaps in a fashiom that Terratype likes. After import, when I visit the map I simply get an error message of:

    There was an error loading this map

    The import (using CMSImport project) works fine on the rest of the items.

    When I am exporting the data, I am firstly putting it into a CSV file with pipe separation (to avoid issues with tabs and quotes).

    Using some online help (from you and others) I am formatting the string to import into the TerraType datatype like this:

    { "zoom": 17, "position": { "id": "WGS84", "datum": "14.554729,121.024445" }, "lookup": "" }
    

    and like this:

    { "zoom": 17, "position": { "id": "WGS84", "datum": "14.554729,121.024445" } }
    

    and even like this:

    14.554729,121.024445
    

    It seems that no matter what format I try to import as, your new control borks at the import and doesn't like it.

    Is there something that I'm doing wrong here or is importing in this fashion simply not supported?

    My thanks in advance,

    Splinx :)

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 09, 2018 @ 09:44
    Jonathan Richards
    0

    Hi Splinx,

    The first json string you posted, works fine for me.

    First a screenshot of the json you provided, working in the editor Editor View

    And then this is what I get when I render that Terratype map Razor View

    Cheers

    Jonathan

Please Sign in or register to post replies

Write your reply to:

Draft