Clear button doesnt actually remove map coordinates in database
We have deployed this awesome extention to one of our clients and are very happy with how it works.
After some time we have realized that once you set a location for the map it is not possible to clear the coordinates.
The logic we used is simple. If the property has values, get the coordinates - load the map and display it for the end user. If the property does not have a value or the string is empty, well - we dont dispaly the map.
The problem occured when the client wanted to remove the map from the page. Pressed clear and then saved and published the document. The backend showed a empty map with no values and everything looked normal.
The coordinates however was not cleared from the database, and on a reload of the page, the google maps property retained its old value.
Is there any way to clear out the value from this plugin or do i have to implement a second property with true / false on whethere the map should display or not.
Same thing for me. I entered a location and published the content. When I went back, cleared the location, and published it the values were still there on my website.
Just installed the Google Maps datatype in a v4.7.1.1 website and the clear button does clear the text field, but saving doesn't update the database, the old value returns...
Clear button doesnt actually remove map coordinates in database
We have deployed this awesome extention to one of our clients and are very happy with how it works.
After some time we have realized that once you set a location for the map it is not possible to clear the coordinates.
The logic we used is simple. If the property has values, get the coordinates - load the map and display it for the end user. If the property does not have a value or the string is empty, well - we dont dispaly the map.
The problem occured when the client wanted to remove the map from the page. Pressed clear and then saved and published the document. The backend showed a empty map with no values and everything looked normal.
The coordinates however was not cleared from the database, and on a reload of the page, the google maps property retained its old value.
Is there any way to clear out the value from this plugin or do i have to implement a second property with true / false on whethere the map should display or not.
Same thing for me. I entered a location and published the content. When I went back, cleared the location, and published it the values were still there on my website.
Hi Kjetil, Jason,
We've just put out a bug fix release (v2.0.2), this fixes the Clear button issue. Apologies for the inconvenience.
Cheers, Lee.
Just installed the Google Maps datatype in a v4.7.1.1 website and the clear button does clear the text field, but saving doesn't update the database, the old value returns...
Hi Stefan,
Could you create a new issue on our BitBucket please? https://bitbucket.org/vertino/google-maps-for-umbraco/issues/new
Will look into it later today or tomorrow - I suspect I know what is causing this.
Thanks, Lee.
I'm having the same issue as Stefan, the clear button does clear the text field, but saving doesn't update the database
my version of Google Map datatype is v2.1.0 my Umbraco install is 6.1.6
greetings,
Anthony
is working on a reply...