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 :/
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…
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.