Skip Navigation

[Resolved] Map Markers not showing up.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by JSG 6 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#536169

JSG

I am trying to: add multiple markers to a single map

I visited this URL: hidden link

I expected to see: 2 locations at this point

Instead, I got:Just a map and no markers

I verified that the address does show up when entered in the post type
I verified that the address is being cached
I do have all three Google APIs enabled
I have NOT restricted the credentials to my domain

Here is my Views Code


[wpv-layout-start]
[wpv-items-found]
[wpv-map-render map_id="map-1" map_height="800px" cluster="on" map_type_control="off" street_view_control="off" marker_icon="hidden link" background_color="#1e73be"]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-map-marker map_id="1" marker_id="marker-1" marker_title="WEC Eye Doctor" marker_field="wpcf-office-address"][/wpv-map-marker]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
<c/ode>

#536195

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

This issue seems to be a problem with the api key.

Could you verify that the map markers show up when you are using this API key below?
AIzaSyB0KhffiMteHVLTmx5bdgG4_m2gI5YAFgw

Thanks,
Shane

#536216

JSG

I tried that key and it seems to make no changes.

I'll leave that key active so you can continue to look.

#536249

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Would you mind providing me with a few debug information on the website as well as admin access so I can have a more detailed look?

To provide the debug information please have a look at the link below.
https://toolset.com/faq/provide-debug-information-faster-support/

Also the private fields have been enabled for the credentials.

Thanks,
Shane

#536295

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

So I have some awesome news 🙂

I took a look at the view and found that the issue was that the incorrect map id was added to the marker shortcode.

What you had for the map id in the marker was 1 but the actual id of the map was map-1

The map should now be showing normally now.

Thanks,
Shane

#536299

JSG

Thanks very much for the catch.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.