Navigation überspringen

[Gelöst] Using Mapbox instead of Google Maps (or any other suggestion?)

This support ticket is created vor 3 Jahren, 7 Monaten. 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.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Jaime vor 3 Jahren, 7 Monaten.

Author
Artikel
#2098871

Tell us what you are trying to do?
Hi there!
I really don't have a problem right now. It's more like asking for a suggestion.
I tell you this, because you can put my ticket on the bottom of your list. No pressure, no hurries.
🙂

I have a website using Google Maps where I list locations.
You can see it online here.
versteckter Link (All locations available)
or here
versteckter Link (A single Route)

I would like to have "Routes" with linked locations ( with 'linked' here, I mean points with a line between, not "hyperlinked". Just to be clear...) more that isolate points on my map.

So, I found this website, which makes (more or less) what I would like to reach.
versteckter Link
(As you can see there are some points linked by a line, making like a "Route")

I saw this website is using Mapbox, and as far as I know Toolset doesn't work with Mapbox.
But...
is there any workaround or any suggestion to make my website work like this one?
Can you image any solution for me?

Thanks a lot team!
🙂

#2099191

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

Hola Jaime

We don't have support for Mapbox and OpenStreetMaps. It's one of our most requested features, but I can't say when such support will be added.

To implement something like this you would need to work with the Google Maps API, start here: versteckter Link

The key thing you will need to be able to do is to access the map object once it has been created by Toolset Maps so that you can manipulate it using JavaScript as per the official API documentation.

To give you an idea of what's involved, see this code example for drawing a circle on a Google Map: versteckter Link

Your case is different, but it demonstrates what is involved interacting with the Google Map object.

#2101097

Thank you for your info Nigel.
🙂