Mega new package - congrats and thanks for sharing it with the world!
I've just installed it (v1.0.10) via the Umbraco (v7.5.11) back-office but I'm hitting a lot of browser console errors and the map is failing to load, both in the datatype configuration area and in the content section once the datatype has been added to a doc-type.
The error is rather unhelpful (to me at least):
Uncaught TypeError: Cannot read property 'type' of undefined
at Object.<anonymous> (Terratype.GoogleMapsV3.js?cache=1.0.10:1330)
at Object.broadcastSingle (Terratype.GoogleMapsV3.js?cache=1.0.10:50)
at Terratype.GoogleMapsV3.js?cache=1.0.10:263
(anonymous) @ Terratype.GoogleMapsV3.js?cache=1.0.10:1330
broadcastSingle @ Terratype.GoogleMapsV3.js?cache=1.0.10:50
(anonymous) @ Terratype.GoogleMapsV3.js?cache=1.0.10:263
The doc-type editor and console look like so at the moment:
Beautiful bug report, honest to God, that was so good, that it literally took me less than a minute to see my obvious error on 1330; The Map Selector Type has no value.
First off, I will fix this, and get a new release out soon (In the next few days or so)
But before then there is a very quick fix you can do. All you need to do is set a value for the Map Selector Type.
As a temp fix when configuring your new Terratype Google Map, in the appearance section switch on Terrain Map. Set a Map Selector Type - its not important what value you pick. Save your datatype, then switch off Terrain Map, press Save again.
I know this looks like I'm asking you to switch on something, save it, then switch it off again and save it, but hopefully this will solve your issue.
Terratype Map not rendering - console errors
Hey Jonathan,
Mega new package - congrats and thanks for sharing it with the world!
I've just installed it (v1.0.10) via the Umbraco (v7.5.11) back-office but I'm hitting a lot of browser console errors and the map is failing to load, both in the datatype configuration area and in the content section once the datatype has been added to a doc-type.
The error is rather unhelpful (to me at least):
The doc-type editor and console look like so at the moment:
The contents of the JSON config are:
Any ideas?
Thanks :)
Hey Dan,
Beautiful bug report, honest to God, that was so good, that it literally took me less than a minute to see my obvious error on 1330; The Map Selector Type has no value.
First off, I will fix this, and get a new release out soon (In the next few days or so)
But before then there is a very quick fix you can do. All you need to do is set a value for the Map Selector Type.
As a temp fix when configuring your new Terratype Google Map, in the appearance section switch on Terrain Map. Set a Map Selector Type - its not important what value you pick. Save your datatype, then switch off Terrain Map, press Save again.
I know this looks like I'm asking you to switch on something, save it, then switch it off again and save it, but hopefully this will solve your issue.
Cheers
Jonathan
Nailed it :) Thank you, sir!
FYI: Have released version 1.0.11 that fixes this issue
is working on a reply...