Skip Navigation

[Resolved] can't get map marker to show

This support ticket is created 7 years, 11 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 9 replies, has 3 voices.

Last updated by Shane 7 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#401663
4.pic.jpg
3.pic_hd.jpg

Hi

I am trying to:
make map marker to show on Toolset reference site (Realestate) i installed

I visited this URL:
on my local machine
hidden link
I expected to see:
Map with marker

Instead, I got:
Map displayed centering middle of nowhere, no marker

I edited the template short code and found that:

1

[wpv-map-render map_id='map-job']
[wpv-map-marker map_id='map-job' marker_id='marker-1' marker_field='wpcf-job-location'][/wpv-map-marker]

Shows map but No marker

2

[types field="job-location"][/types]

shows address text
"123 Swanston Street, Melbourne, VIC, Australia"

3

[types field="job-location" format="FIELD_ADDRESS: FIELD_LATITUDE, FIELD_LONGITUDE"][/types]

Shows address part, but missing Latitude and Longitude: i.e.:
"123 Swanston Street, Melbourne, VIC, Australia: , "

4

[wpv-map-render map_id='map-job2']
[wpv-map-marker map_id="map-job2" marker_id="marker-5" lat="-37.8169051" lon="144.9715084"][/wpv-map-marker]

This one shows map and marker properly

seems there is a problem translating address text into Lon. and Lat.
i enabled map plugin and added google api key
there is a javascript console warning saying "Google Maps API warning: NoApiKeys hidden link"
i tried all Apartment/house/land pages, tried edit the addresses into different ones, same issue.
i renamed the property-location field to job-location, didn't make difference

when editing the post in dashboard, the map and maker are working fine

please help

#401713

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

It seems that you do not have an API key installed for google maps. Sometimes the maps don't render because you have reached the limit of your free quota.

To get an API key please follow the instructions in the link below.
https://toolset.com/documentation/user-guides/data-caching-for-google-maps-addresses/?utm_source=toolsetmapsplugin&utm_campaign=toolsetmaps&utm_medium=views-integration-settings-for-api-key&utm_term=our%20documentation#api-key

Please let me know if this helps.
Thanks,
Shane

#401750
1.pic.jpg

as mentioned in my first post,
i enabled map plugin and added google api key

when editing the post in dashboard, the map and maker are always working fine
on front end pages they never work

any ideas?

#401770

I have the same problem. It doesn't seem to be related to having API keys because my maps were working before. My post is here (still unsolved as well): https://toolset.com/forums/topic/google-map-stopped-showing-addresses-on-view/#post-401580

#402005

Shane
Supporter

Languages: English (English )

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

Hello,

Would it be possible for you to let me know the php information of your local server ?

Strange issues like his could be caused by outdated php versions.

From you first screenshots I noticed that one of the address is showing on the map and the others aren't.

Also is it possible for you to put the server on a live site so that I can have a look ?

Thanks,
Shane

#402786
2.pic.jpg
1.pic.jpg

1) my php version is 5.6.21, which i updated from 5.5.X
2) hidden link

the map that shows marker correctly is the one i coded with Lat and Lon hard-coded in shortcode
the one that shows no marker in middle of nowhere is the one i try to pass post field ('job-location')to the shortcode.

basically for my custom post field job-location, FIELD_ADDRESS is correctly saved, but FIELD_LATITUDE, FIELD_LONGITUDE are not saved properly and coming back as empty
i created a few more post in WP Admin dashboard and each added location field, they all got proper marker in the post edit screen.

but no marker shows on front end pages.
when i go to Toolset > Settings > Maps > Cached Data and clicked 'Load stored data'
it shows no stored Longitude and Latitude rows

Please advise strategy to resolve this issue.

if your team could please tell me where is the code that saves the Lon and Lan, and to which database table/column, i could probably do some debugging on my end too.

thanks

#402917

Shane
Supporter

Languages: English (English )

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

Hello,

Would you mind providing me with admin access to the website so I can have a look at this for you ?

The private fields will be enabled for your next response.

Thanks,
Shane

#403164

Shane
Supporter

Languages: English (English )

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

Hello,

This site seems to be a freshly installed demo of our Real Estate, however I noticed that the image elements are missing.

Would it be possible for you to clear the website and reinstall the demo ? Something might have gone wrong in the setup as I installed a fresh copy of the demo on my test site and it worked fine for me.

Could you try this and let me know.
Thanks,
Shane

#411608

still not working
i got image url to a local url, its not related to the map issue
i want my money back

#411773

Shane
Supporter

Languages: English (English )

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

Hello,

I'm sorry to hear that the plugin isn't working as intended 🙁

However you can have a look at our refund policy in the link below.
https://toolset.com/buy/refund-policy/

Thanks,
Shane

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