BUG: Map Plugin Issue - Resized Location Pin Missing After Publishing

I am encountering an issue with the map plugin on my SiteJet project. While in edit mode, the location pin appears correctly on the map. However, after publishing the site, the location pin does not show up in any browser.

Steps to Reproduce:

  1. Add the map plugin and set a location pin in edit mode.
  2. Publish the site.
  3. Check the published site in multiple browsers (Chrome, Firefox, etc.).

Expected Behavior: The location pin should appear on the map after publishing, just as it does in edit mode.

Actual Behavior: The location pin is missing on the map in the published site across all tested browsers.

Additional Information: I have tried clearing the browser cache and re-publishing, but the issue persists.

I’ve found the root cause of the issue.

It seems it is a bug.
When you add any image as location pin then you resize it the publish won’t copy the file to the right path.

Example:

  • I have a custom png with 64 x 64px dimensions
  • I upload it as a custom pin and modify its width param to 50 px
  • Publish the site
  • Image url in the hml code will be this: /images/50/custom-pin.png
  • Image is located here: /images/0/custom-pin.png

When I don’t modify the width param, the locator pin appears on the map.

Hey there. Closing this thread and moving the other to the dedicated area.

1 Like