Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kjetil Barnung 3 posts 28 karma points
    Oct 05, 2011 @ 15:35
    Kjetil Barnung
    0

    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.

     

  • Jason Jarrett 1 post 21 karma points
    Oct 12, 2011 @ 21:15
    Jason Jarrett
    0

    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.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Nov 23, 2011 @ 16:18
    Lee Kelleher
    0

    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.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jan 19, 2012 @ 12:31
    Stefan Kip
    1

    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...

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 19, 2012 @ 12:37
    Lee Kelleher
    1

    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.

  • Anthony Candaele 1197 posts 2049 karma points
    Apr 18, 2014 @ 09:20
    Anthony Candaele
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft