Skip Navigation

[Resolved] Marker not showing on map

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

Our next available supporter will start replying to tickets in about 5.52 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 3 voices.

Last updated by Beda 7 years ago.

Assisted by: Beda.

Author
Posts
#586146

I am trying to:
Make a marker on the Google map for the address from a Post Field
Link to a page where the issue can be seen:
hidden link
I expected to see:
I expected to see a marker where the address is.
Instead, I got:
A map with no marker

Here is the code I put in my Content Template:
[wpv-map-render map_id="map-1" map_height="400px" single_zoom="12"]
[wpv-map-marker map_id="map-1" marker_id="marker-1" marker_field="street-address"][/wpv-map-marker]

#586151

y.S

Remove the restriction you have set in your Google API key definition for a moment, see if it works then.

#586214

Most probably this is an issue with your Google API key. To fully confirm that I need to log in and use my own API Key, which I will delete afterwards

If with my API Key the markers appear it means the issue is not within Toolset Maps.

In those cases, it is required to carefully follow this document and pay attention to placeholders and sub-folder installs (Google does not like this kind of URL's).
https://toolset.com/documentation/user-guides/display-on-google-maps/

If the issue persist, please can you grant me access to the site?

#587021

Are you using the legacy Maps?

I do not see that you have any Address Custom Field in that Post.
You use separate fields, like street, number, etc.

That is not how you should create Maps, as our Document shows.
You should use the Address Field.

If you created those Addresses with the old Maps Plugin and started the work with that plugin and do not plan to switch, you need to activate "Enable the legacy Views Map plugin" in Toolset > Settings > Maps > Map plugin (legacy)

Does that solve the problem?

#588300

I enabled the Legacy map plug in, but n marker shows up. Do I have to change the code in my Content template to match the old plug in ?

thanks,
Mike

#588512

The map legacy plugin requires a complete different syntax that I cannot even share anymore, it's not present in the DOC anymore.
I requested the old DOC in a PDF file, but we cannot assist that anymore, it's deprecated.
As soon I have it (if we still have it) I will share it with you.

We let it only active for backwards compatibility.

1. Has this code you share ever worked on your site? (I think, not)
2. When did this start to break?

I see you have over thousand posts. Did they feature an address before, and where they showing on the map?
With the current setup, this is not possible.

Please let me know if this ever worked, and if so, in what version of Toolset.
Then I might be able to replicate this, but from what I see now, NEW Syntax is used to display OLD addresses and that cannot work.