Skip Navigation

[Resolved] Map markers not going onto map

This support ticket is created 7 years, 4 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Chris 7 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#462998

I am trying to: Display teacher locations on a map.

I visited this URL: hidden link

I expected to see: I've put in two locations in the Address field and nothing appears. google stats show that the API is getting traffic.

Instead, I got: Error connecting the Google Maps API: REQUEST_DENIED - Something went wrong while retrieving your map, please ensure you have entered the short code correctly.

Nothing appears. Debug is on.

#463032

Here's the code for the display:

[wpv-layout-start]
	[wpv-items-found]
[wpv-map-render map_id='map-1' map_height='390px' marker_icon='<em><u>hidden link</u></em>
	<!-- wpv-loop-start -->
	<table width="100%">
		<thead>
			<tr>
				<th>[wpv-heading name="types-field-first-name"]Name[/wpv-heading]</th>
				<th>[wpv-heading name="types-field-last-name"]City[/wpv-heading]</th>
				<th>[wpv-heading name="types-field-state"]State[/wpv-heading]</th>
				<th></th>
			</tr>
		</thead>
		<tbody class="wpv-loop js-wpv-loop">
		<wpv-loop>
          [wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address' debug="true"][/wpv-map-marker]
			<tr>
				[wpv-post-body view_template="Loop item in Grad List"]
			</tr>
		</wpv-loop>
		</tbody>
	</table>
	<!-- 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]
#463079

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Could you please try to create new Google Map API and make sure following APIs are enabled:
- Google Maps Geolocation API
- Google Maps JavaScript API
- Google Places API Web Service

Once all of above APIs enabled, please generate new API key and replace it with your old map key at toolset map settings page.

#463279

i did so and it still doesn't work. I again see the hits on my google dashboard but it doesn't work on the map.

#463327

Is it because i'm using a View template?

#463407

Strange. i went in and changed it to a restriction. Then went and unrestricted it and now it seems to work.

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