in all our umbraco-websites I can't see the google maps. This worked perfect in the last weeks, but today I see the input-field and the location-field in contentsection and not the google maps... In frontend it works!
I use in all our websites the Google Maps Data Type version 2.0.3.
I have deinstall this package and install the new version 2.0.4, but I have the same error!
This are my settings: - ASP.NET 4.0 - Windows Server 2008 R2 - Umbraco versions 4.7.1 (Assembly version: 1.0.4281.20201) and 4.7.1.1 (Assembly version: 1.0.4393.24044)
Seems like there is other doc types in Umbraco backoffice also got changed recently without any changes in the code!
Other than the Google map doc type issue mentioned above - all the Multi Node Tree Pickers style/layout got wrong automatically in all my projects last week.. Fixed this buy making change in umbraco_client/tabview/style.css .. but couldnt find a solution for the Google map doc type yet..
Looks like the problem was to do with the context. It was being set to the window rather than the UmbracoGoogleMapMapDataType as "this" pointing to the wrong place. So I tried:
var context = UmbracoGoogleMapMapDataType; this._apiLoaded = true; jQuery('div.gmapContainer').each(function () { var id = jQuery('div.map', this).attr('id'); context._maps[id] = new UmbracoGoogleMap.map(id, this); context._maps[id].render(); });
Sounds like Google changed something in their API / JavaScript included. Unless you have added other 3rd-party packages to your installs, I can't see what else would break an existing set-up.
Do keep in mind that the Google Maps package is completely open-source ... there are no "hidden" features; total transparency.
@Anz - Any more info about the MNTP CSS issue? (if so, either post new forum thread or CodePlex ticket - thanks)
I've been following this up with my local dev installs, which all my Google Maps have broken too! (yep, I'm in the same boat as you guys!) No idea what has caused this (as in the JavaScript for the data-type hasn't changed in such a long time!!)
@Rory - thanks for the patch ... not sure if you know how to use Mercurial? I'd love a pull request - so we don't have rogue packages, etc.
No map in Backend
Hello,
in all our umbraco-websites I can't see the google maps. This worked perfect in the last weeks, but today I see the input-field and the location-field in contentsection and not the google maps... In frontend it works!
In the browser I see that the .map-div is empty:
I use in all our websites the Google Maps Data Type version 2.0.3.
I have deinstall this package and install the new version 2.0.4, but I have the same error!
This are my settings:
- ASP.NET 4.0
- Windows Server 2008 R2
- Umbraco versions 4.7.1 (Assembly version: 1.0.4281.20201) and 4.7.1.1 (Assembly version: 1.0.4393.24044)
Best regards
Sören
I get an javascript-error in backend, if I click my contact-node with the Google Maps Data Type:
It's this line
in this function:
Has anyone an solution for this bug?
Best regards Sören
Have the same problem! Any fixes?
Same issue all of a sudden I have tried the fixes with the app setting and upgrade of the data type but still no map in backend.
I have same problem today!!!!!!!
Same problem guys! News? I have to commit a project that is in production with the version 2.0.4. of the package
Thank's
Fabio
Maybe Google has changed something in their API????¿??
Seems like there is other doc types in Umbraco backoffice also got changed recently without any changes in the code!
Other than the Google map doc type issue mentioned above - all the Multi Node Tree Pickers style/layout got wrong automatically in all my projects last week.. Fixed this buy making change in umbraco_client/tabview/style.css .. but couldnt find a solution for the Google map doc type yet..
Added the question in Stackover flow also..
http://stackoverflow.com/questions/11633938/google-maps-data-type-throws-type-error-cant-convert-undefined-to-object
Looks like the problem was to do with the context. It was being set to the window rather than the UmbracoGoogleMapMapDataType as "this" pointing to the wrong place. So I tried:
And that now seems to work as a temporary patch. If you want you can download the dll from https://www.dropbox.com/s/3aj91cuzxn3rcbu/Our.Umbraco.GoogleMaps.zip
Hi all,
Sounds like Google changed something in their API / JavaScript included. Unless you have added other 3rd-party packages to your installs, I can't see what else would break an existing set-up.
Do keep in mind that the Google Maps package is completely open-source ... there are no "hidden" features; total transparency.
@Anz - Any more info about the MNTP CSS issue? (if so, either post new forum thread or CodePlex ticket - thanks)
Cheers, Lee.
@Rory - Thank you for the patch.. it worked like a charm..
@Lee - sure - will do that..
I've been following this up with my local dev installs, which all my Google Maps have broken too! (yep, I'm in the same boat as you guys!) No idea what has caused this (as in the JavaScript for the data-type hasn't changed in such a long time!!)
@Rory - thanks for the patch ... not sure if you know how to use Mercurial? I'd love a pull request - so we don't have rogue packages, etc.
https://bitbucket.org/vertino/google-maps-for-umbraco
Any other improvements to the JavaScript (or package overall) are more than welcome!
Thanks, Lee
@Rory - thanks for the patch! It worked now!
@Rory - thank you for the patch.
Working, thanks!!
Please refer to this stackoverflow answer for a more permanent fix.
@Douglas - Perfect, thank you!
@Douglas - Brilliant, thank you!
Forked and created pull request. First one ever... so bear with me.
Thanks Douglas, your pull request was all good!
Pleased to say that the latest release is ready for download: Google Maps DataType 2.0.5
Cheers, Lee.
Thank you guys. Amazing.!!!
Yeah, this is an excellent support! Thank you very much!
is working on a reply...