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!
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
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]
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
####################
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.
Oky without restriction in the API setup of google it works.
Do you have any idea why is that a problem?