Support » Plugin: Travelers' Map » update icons

  • Hi Camille,
    I’m amazed by your everlasting kindness and patience. I’m afraid I’m going to use it again :
    Yesterday I think I changed the markers (using the menu element “personnaliser les marqueurs”) using my own .png icons.
    However, although the correct updated markers are shown on the admin screen, and despite the fact that I already pushed the “mettre à jour” buttons, as well as “Appliquer”, having all icons selected, my page still shows the same markers as before…

    Do you know what I did wrong ?
    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear @agthalim,

    Yes, this is a big issue I’m having with the plugin, I did not think of that possibility while developing the plugin, and it needs to be adressed.

    Please see the answer in this post: https://wordpress.org/support/topic/problem-with-markers-when-edits-a-marker-with-new-image/#post-13853226

    I hope a media replace is enough for you, or you will have to go back to every post and change the marker image one by one I’m afraid :/

    Or if you have some development knowledge (please don’t if you don’t), you can search and replace in your database to replace the old markers url with the new one (see explainations here https://wordpress.org/support/topic/problem-with-markers-when-edits-a-marker-with-new-image/#post-14235615 ). Don’t forget to save your database before.

    I hope this helps! I’m really struggling with that, I want to improve it but that will need a lot of work and tests before deploying a “migration” script between old and new version of the plugin :/

    Thread Starter agthalim

    (@agthalim)

    Dear Camille,
    Thank you for the answer.
    The media replace should be enough for me.
    In case I have a look at the database : in which table are the markers url ?

    These things happen…

    Plugin Author Camille V

    (@socrapop)

    The table is wp_postmeta. It is saved as json like this one (this is the old version, v2 has new parameters) :

    {"latitude":"38.97763","longitude":"21.50105","markerdata":["http://travelersmap.test/wp-content/uploads/2020/11/cttm_markers-red.png",32,45],"multiplemarkers":false,"customtitle":"","customexcerpt":"","customthumbnail":""}

    If you’re marker is not the same height and width, you will have to change it too:
    "markerdata":["url",width,height],

    • This reply was modified 2 years, 5 months ago by Camille V.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘update icons’ is closed to new replies.