Skip Navigation

[Resolved] Marker does not show up on map

This support ticket is created 6 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by tomS-10 6 years ago.

Assisted by: Nigel.

Author
Posts
#1142880
Skjermbilde 2018-11-08 kl. 08.37.57.png
Skjermbilde 2018-11-08 kl. 08.37.33.png
Skjermbilde 2018-11-08 kl. 08.37.18.png
Skjermbilde 2018-11-08 kl. 08.36.46.png

I am trying to make markers show up on a map. I have done this several times, but right now it does not work. I guess I am missing something out.

I have followed https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/ and some others and I cant find any differences.

Can you find any issues with the code below?

[wpv-layout-start]
	[wpv-items-found]
	<!-- wpv-loop-start -->
[wpv-map-render map_id="map-1" cluster="on" marker_icon="//garnvik.no/wp-content/plugins/toolset-maps/resources/images/markers/Shop-1.png" cluster_min_size="2" cluster_grid_size="20"]<h3>Vennligst vent mens kartet lastes inn ...</h3>[/wpv-map-render]
		<wpv-loop>
          [wpv-map-marker map_id="map-1" spiderfy="on" marker_id="marker-[wpv-post-id]" marker_field="wpcf-adresse"]
          	<strong>[wpv-post-title]</strong><br/>
          	<small>
            	[types field='telefonnummer' separator=', '][/types]
            	[types field='epostadresse'][/types]
            	[types field='nettside'][/types]
          	</small>
		</wpv-loop>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
	[/wpv-no-items-found]
[wpv-layout-end]
#1143017

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Tom

From the map that is being drawn it looks very much like a problem with your Google Maps API key.

Either there is a problem with how you have set it up, specifically if you have added URL referrer restrictions, or you have exceeded your API quota.

See https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/#known-issues

Could you try either removing the URL referrer restrictions (for testing) or add a second un-restricted key (which is not exposed because it is for server-to-server requests).

Let me know if that helps.

Could I also ask you an unrelated question?

We have just begun trialling offering chat support. When you created this thread you should have seen the option to chat immediately with support or to submit the thread as normal, and it seems like you chose to submit as normal.

Do you have any comments?

#1143020

Hello Nigel. You were right, there was problems with API regarding the restrictions.

About the chat support I did not see the option.