-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not saving selected map style #14
Comments
Thanks for reporting @russellshome 👍 Getting or setting the map type shouldn't depend on casing differences, so this is indeed something that needs fixing! Seems like Google uses all-lowercase and these values can also be retrieved from the I've already added an obsolete message to the C# property, so this will probably be rewritten for version 2 of this package: Our.Umbraco.GMaps/src/Our.Umbraco.GMaps.Core/Models/GMapsMapConfig.cs Lines 22 to 43 in 081fad4
|
I noticed when you have entered a custom mapstyle JSON it is not possible to delete/clear this again. Tested on v1.3.3 and Umbraco v8.9.0 |
Hi all, can someone confirm whether this is still an issue in the current version for me. Otherwise, this issue will be closed in a couple of weeks... |
When that selected map type is changed, that change is not saved.
The incorrect code is in our.umbraco.gmaps.controller.js
Starts with switch ($scope.mapType)
Upper case first letter is incorrect so 'Hybrid' should be 'hybrid' etc.
The text was updated successfully, but these errors were encountered: