• Resolved Cheryl

    (@tricheryltops)


    I am trying to set up a google map view for a custom post type. The map centers on the correct location but the red map marker only shows on the back end and there’s no marker on the frontend.

    I thought it might be because I also have WP Go Maps installed (that will interact with ACF to show all posts with locations but not to automatically get the location field to show a single map location on the post).

    However, I disabled WP Go Maps and loaded the map key from functions.php, disabled all caching/optimization plugins, and it still does not show a marker on the frontend.

    Any ideas?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPLake

    (@wplakeorg)

    Hi @tricheryltops

    Thanks for the details! Since I’ve tested this on my end and the marker is displaying correctly, it seems like there might be something specific in your setup affecting the frontend rendering. Let’s try narrowing it down together.

    Could you please share the following:

    1. Theme details – Are you using a custom theme or child theme? Any custom JavaScript that might interact with maps?
    2. View template output – Please share the full template used in the View (from the “Template” tab), especially if it’s been customised. You can copy/paste the code here or export it if needed as part of the debug dump.
    3. Frontend errors – Open the page in Chrome, right click > Inspect > Console tab, and let me know if there are any errors or warnings showing. A screenshot or link would be great.
    4. Google Maps API – Check the Network tab in your browser’s inspector while reloading the page. Make sure the Maps JS API is loading successfully (no permission or billing errors).
    5. Map field data – On the frontend page, can you check if the map field’s data (like latitude and longitude) is actually output in the page source? Sometimes the marker won’t render if no data is being passed in.
    6. Optional test – If you’re able to, try creating a blank page with just a basic map view (no styling or other plugins) and check if the marker shows up. This can help isolate the issue.

    Once you send over those details, I’ll help you figure out exactly what’s going on.

    Thanks!

    Thread Starter Cheryl

    (@tricheryltops)

    Well, you’re saved from a very long message I was starting to write. I though I’d disabled everything, but I went through everything again and it turns out that’s what is causing the issue is ShortPixel Adaptive Images. When it’s enabled, I can see a marker flash for a brief second, sometimes, and then it disappears. The marker appears when I deactivate the plugin.

    Finally, after trying to exclude a bunch of classes, I was able to simply use their tool and found that it was trying to stick the map marker image on the CDN and was able to exclude it. It seems to work now.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Marker does not show’ is closed to new replies.