Skip Navigation

[Resolved] Display map with marker on front page

This support ticket is created 6 years, 5 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 10 replies, has 2 voices.

Last updated by magdalenaT 6 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#915370

I am trying to:
Display Google Maps on frontpage with marker

hidden link

I have set adres custom field but i dont know how to display it centered on marker

in this version there is only one marker (post author adress)

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#915474

Shane
Supporter

Languages: English (English )

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

Hi Magdalena,

I see that the map is centered in the ocean and not on the marker itself.

Are you using a restricted API key?

Thanks,
SHane

#915603

No i dont think so - i use standard API key.

What do you mean restricted ?

I think i dont know how to use map shortcodes to display markers

#916009

Shane
Supporter

Languages: English (English )

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

Hi Magdelena,

I just tried an API key I generated and the issue is the same.

I do however noticed that there were a few javascript errors being generated on your site.

What I would recommend that you do is to temporarily disable all the non-toolset plugins and try again.

Thanks,
Shane

#916033

Yes i have tried that
even changing theme but it didnt worked

You can try on yor own if you want - this site dont have as much visitors so we can play with it

#916256

Shane
Supporter

Languages: English (English )

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

Hi Magdalena,

Would you mind if I took a copy of your site to test locally?

Thanks,
Shane

#916336

Yes, ofcourse.

But, map isn't actually my priority, so if this is kind a bigger problem then we can skip yt for now.

We have added map because i was fightig with Luo to achieve autocomplete fields, but after all i didnt used map field and i didn't used post relations just used select2 with taxonomy fields, and thanks to Luo we did it.

I planned adding map but not in this stage (it happend some how), but if you want to finnish that right now its OK.

I just want to say that i have other problems to solve that for me are mor importante 😉

#916785

Shane
Supporter

Languages: English (English )

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

Hi Magdalena,

i would still like to look at it for you so that we can know what is wrong ok 🙂

Thanks,
Shane

#916790

OK, it's fine by me.

#917519

Shane
Supporter

Languages: English (English )

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

Hi Magdalena,

I was able to resolve the map issue.

It was just that the map and marker weren't targeting each other. So the marker was not pointing to the map on the page.

Thanks,
Shane

#918208

Thanks - maps are working.

Told you, that hhis can be problem of sjhortcode usage and my lack of knowledge about toolset.

But with your help im learning quickly.

Made already additional maps for taxomomies with multi markers