Passer la navigation

[Résolu] Google Maps – no_popups="true" not function.

This support ticket is created Il y a 1 year, 8 months. 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 -

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

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 year, 8 months.

Assisté par: Minesh.

Auteur
Publications
#2778847

I am trying to:
I would like that when clicking on the maker it does not show the pop-up but a link that refreshes the page.
I would also like to remove the buttons:
Map, Satellite, and Pegmam

Link to a page where the issue can be seen:
lien caché

I expected to see:
when clicking on the maker I would like to associate a link so as to pass a parameter to the same page without making the pop-up appear.
lien caché

Instead, I got:
Doesn't take changes

Mycode:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
[wpv-map-render map_id="mappa1" height="800px" width="100%" map_options='{"mapTypeControl": false, "streetViewControl": false, "fullscreenControl": false}']
<wpv-loop>
[wpv-map-marker
map_id="mappa1"
marker_id="marker-[wpv-post-id]"
address="[types field='indirizzo'][/types]"
no_popups="true"
]
lien caché
[/wpv-map-marker]
</wpv-loop>
[/wpv-map-render]
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
Nessuna posizione trovata.
[/wpv-no-items-found]
[wpv-layout-end]

#2778961

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

There is no such feature to link the marker but you may try to use the Toolset Maps javascript hooks that may help you:
- https://toolset.com/documentation/programmer-reference/maps/programmatically-change-map-settings/#changing-settings-when-using-google-maps-api

Please check the following related tickets that might help you - its not exact solution but you will get ideas about it how to get all markers etc..:
- https://toolset.com/forums/topic/change-map-marker-on-click-and-hover-over-listing-items/#post-2684895
- https://toolset.com/forums/topic/add-lines-connecting-markers-in-a-google-map/

More info:
- https://stackoverflow.com/questions/3056213/google-maps-marker-as-a-link