Sauter la navigation

[Résolu] Google maps Ground Overlay

This support ticket is created Il y a 4 années et 10 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par umbertoZ Il y a 4 années et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#1715791

Hi, I've a map with markers in a View.
I need to create a ground overlay on top of a google map, so I can put an ancient map image on top of the Google map.

I found this documentation:

lien caché

I could setup the code, it loads the overlay image, but then it loads the Toolset markers and map style, so it removes the overlay.

Do you have any advice to add the overlay correctly? Is there a Toolset Map API to customize the map?

Thanks

#1715915

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset Maps offers the JS hook "js_event_wpv_addon_maps_init_map_completed" using which you can change the map settings on fly.

Please check the following doc and check if this hook help you to resolve your issue:
=> https://toolset.com/documentation/programmer-reference/maps/programmatically-change-map-settings/#changing-settings-when-using-google-maps-api

#1717149

My issue is resolved now. Your suggestion worked fine.

Thank you!