Skip Navigation

[Resolved] map marker doesn't work

This support ticket is created 7 years, 6 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 3 voices.

Last updated by oleg-2 7 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#451064

Hi there,

I am trying to add google maps on a dynamic page. At first it was working really good, but since the last updates it doesn't work anymore. Map markers will not be shown on map.

I tried it in serveral ways:

[wpv-map-render map_id='map-1' marker_icon='/uploads/2016/03/marker-1.png']

[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' address='wpcf-address'][/wpv-map-marker]
[wpv-map-render map_id='map-1' marker_icon='/uploads/2016/03/marker-1.png']

[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address'][/wpv-map-marker]
[wpv-map-render map_id='map-1' marker_icon='/uploads/2016/03/marker-1.png']

[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' lat="[types field='address' format='FIELD_LATITUDE'][/types]" lon="[types field='address' format='FIELD_LONGITUDE'][/types]"][/wpv-map-marker]

Visit:

**Information deleted**
Thanks!

#451280

Dear matthias,

I can not find any problem in your codes, please check if you have setup the google API key in your website, see our document:
https://toolset.com/documentation/user-guides/display-on-google-maps/#api-key

#451295

I also try that:

[wpv-map-render map_id='map-map' marker_icon='<em><u>hidden link</u></em>
[wpv-map-marker map_id='map-map' marker_id='marker-test' address='Rom, Italien'][/wpv-map-marker]
[wpv-map-render map_id='map-map'][wpv-map-marker map_id='map-map' marker_id='marker-test' address='Los Angeles Street, Baldwin Park, Kalifornien, USA'][/wpv-map-marker]

Map appears but the marker was not set. It show me only the ocean on the map.

But if i use "Latitude" and "Longitude" the map work.

[wpv-map-render map_id='map-map'][wpv-map-marker map_id='map-map' marker_id='marker-test' lat='34.092209' lon='-117.967595'][/wpv-map-marker]
#451335

Please add debug=true in the [wpv-map-marker] shortcode, for example:
[wpv-map-marker map_id='map-map' marker_id='marker-test' address='Rom, Italien' debug="true"][/wpv-map-marker]

then refresh it in front-end, there should be some debug logs, and copy/paste the debug logs here. thanks

#451351
Bildschirmfoto 2016-10-28 um 12.00.42.png

####################
Marker data
————
Marker address: Rom, Italien
Error connecting the Google Maps API: REQUEST_DENIED – Something went wrong while retrieving your map, please ensure you have entered the short code correctly. URL was hidden link
####################

At "HERE_IS_MY_API_KEY" is normally my API from Google.

See Screenshots i receive the errors.

#451355

Oky without restriction in the API setup of google it works.
Do you have any idea why is that a problem?

#466332

hidden link

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