• Resolved reactfitness

    (@reactfitness)


    Having a marker issue. I add a marker, then edit marker popup to add details and a link. When I add a new marker and then add the popup details it changes the description on both the markers to be the same. What am I missing?

    Thanks!

    lisa

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • This happens to me too, along with other issues from other threads, like I make some changes, save the Map, then when I refresh or load the map view, the points say “undefined”.

    But sticking to this problem, I add a point, save the map and it works ok. If I try to add a second point, the first point is overwritten with the new data, and I end up with identical 2 points (see screenshot: https://ibb.co/zVm6MTS) … trying to delete one ends up deleting both.

    This seems to happen most with locations that are near each other on the map, like the geolocation can’t handle two places that are near by each other, or across the street on the same block.

    Also, you don’t seem to be encoding titles or descriptions with apostrophes or special characters in them. Adding a point title like “Mike’s Place” breaks your code.

    • This reply was modified 6 years, 2 months ago by e dev.
    • This reply was modified 6 years, 2 months ago by e dev.
    Plugin Author tempranova

    (@tempranova)

    Hello guys, thanks for the feedback. We haven’t been able to crack this bug as we have a hard time re-creating it. We have noted the problem with apostrophes before, although we haven’t noticed it with any other characters.

    We will make sure to work on this some more in the next day or so and see if we can push a solid fix.

    I don’t think the geolocation would be messing this up, but there may be some problem with the IDs, and once the parsing has a problem then things start to go haywire.

    Please let us know any other issues you’re facing aside from the “undefined” issue and the encoding problem.

    Is there a way to change the pins to a custom color? Or upload a custom pin?

    Plugin Author tempranova

    (@tempranova)

    In the premium version, you can upload custom pins and use many in different colours. https://mapster.me/wp-mapbox-gl-js/wp-mapbox-gl-js-advanced

    Thanks.

    Can you comment on why when you zoom out, pins start disappearing? It seems to be related to the order in which they are added to the map. So, the last added pin will be visible the longest. It would be nicer if they all just stuck around and were visible.

    I might be interested in purchasing the “premium” version, but there are many things not working quite right in this to justify the expense.

    Plugin Author tempranova

    (@tempranova)

    Hello, that is default behaviour of Mapbox pins. They hide each other to avoid overlapping by default — it’s not a bug. In the premium version there is a checkbox where you can allow marker overlap.

    https://www.mapster.me/wp-mapbox-gl-js/docs/map-creator/advanced-controls/

    Any update on the “Edit Markers” section? I need to add a bunch of markers, and anytime 2 or more are close to each other, the entire process goes crazy and ends up duplicating the last few markers and I have to delete several and re-add them to continue.

    Is there a way to upload a CSV of addresses, titles, and descriptions to generate a bunch of pins at once?

    Plugin Author tempranova

    (@tempranova)

    Hello, please see the Advanced page and documentation, in the premium version there is an import and export option available. You will need to make sure it’s formatted correctly for the plugin.

    We have been totally unable to replicate the duplication problem and deletion. We ran into a small problem where sometimes, the content of an infowindow reflects the last one edited rather than the current one. But the undefined and marker duplication errors we are still unable to replicate.

    We are working on it, but as a free plugin there is only so much time we can dedicate each day. We will most likely find a way to fix this over the weekend. Thanks.

    Well, I assure you it is happening because it is driving me nuts trying to add new places. I currently have 5 or 6 items that are duplicated that I am just leaving in place as erasing one erases both. Something isn’t working well here.

    Just as an update, I can add *some* locations that are near each other if I zoom all the way in on the map in Edit mode, but if 2 locations are next door to each other, or across the street, they still end up overwriting each other in the Edit Markers section. It is like the “feature” you mentioned above where pins get hidden is applying the same sort of logic to pins near each other. Whatever it is, it is very frustrating and making this impossible to use effectively.

    Plugin Author tempranova

    (@tempranova)

    Hello, thanks for the update. We will be working on this shortly, it’s important to us that you’re having this fundamental problem, but it is difficult to tackle when we have so much trouble re-creating it. We will update you soon.

    If this is helpful, I am getting one of these errors for every map point I add:

    location: mapbox-gl.js:546:1204

    Error: “An image with this name already exists.”
    addImage /wp-content/plugins/wp-mapbox-gl-js/admin//wp-mapmaker/build/static/js/main.0c5da71b.js:1:749775
    addImage /wp-content/plugins/wp-mapbox-gl-js/admin//wp-mapmaker/build/static/js/main.0c5da71b.js:1:879161
    value /wp-content/plugins/wp-mapbox-gl-js/admin//wp-mapmaker/build/static/js/main.0c5da71b.js:1:294675
    onload /wp-content/plugins/wp-mapbox-gl-js/admin//wp-mapmaker/build/static/js/main.0c5da71b.js:1:899597
    mapbox-gl.js:546:1204
    [271]</a.prototype.fire
    mapbox-gl.js:546:1204
    [201]</O</t.prototype.addImage
    mapbox-gl.js:406:6406
    [258]</A</t.prototype.addImage
    mapbox-gl.js:520:10241
    value/</<
    Map.js:505:16
    [262]</n.getImage/</r.onload
    mapbox-gl.js:528:1961

    Also, try adding these 3 map points to a single map using your editor. I have tested this in multiple different WP sites, with similar results. All fail.

    Tasty & Alder
    580 SW 12th Ave, Portland, OR 97205

    Bamboo Sushi
    404 SW 12th Ave, Portland, OR 97205

    Kask
    1215 SW Alder St, Portland, OR 97205

    …and a new issue to consider, if you try to save a Popup Description in Text mode, it will not save. Saving only seems to work in Visual mode for these.

    • This reply was modified 6 years, 2 months ago by e dev.
    Plugin Author tempranova

    (@tempranova)

    Hi there,

    Yes, these error messages and instructions are very useful, thanks for that. This should be enough for us to get this fixed by tomorrow.

    Plugin Author tempranova

    (@tempranova)

    Hello, we have pushed up fixes for the issues you were experiencing, although we could still not replicate the “undefined” marker problem noted elsewhere in this thread. I believe we have solved the original “overwriting marker description” problem by removing the Text editor for now, but please let me know if you still experience this.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Edit Marker Popup Issue’ is closed to new replies.