Skip to content

TypeError: Cannot read property 'id' of undefined #3

@Lachlann

Description

@Lachlann

Hello,
I have had this property working however recently the map fails to load on my pages. I get a console error of:
TypeError: Cannot read property 'id' of undefined at Object.loadEditor (terratype.js?cache=1.0.10&cdv=795778288:830) at Object.initEditor (terratype.js?cache=1.0.10&cdv=795778288:932) at angular.min.js?cdv=795778288:74 at a.$eval (angular.min.js?cdv=795778288:92) at pre (angular.min.js?cdv=795778288:158) at k (angular.min.js?cdv=795778288:44) at e (angular.min.js?cdv=795778288:40) at angular.min.js?cdv=795778288:39 at archetype.js?cdv=795778288:1417 at angular.min.js?cdv=795778288:100

I have version 1.0.10 installed.

I am running Umbraco version 7.5.11 assembly: 1.0.6274.27352 and the map property is beign used within Archetype.

I have a key entered which is valid and the preview map shown in the property settings is showing. However in the editor I see: 'There was an error loading this map'
The json value for the example map i am trying to load is:

{ "zoom": 13, "position": { "id": "WGS84", "datum": "55.843314,-4.429961" }, "lookup": "High St, Paisley PA1 2BE, UK" }

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions