Skip Navigation

[Resolved] Using Mapbox instead of Google Maps (or any other suggestion?)

This support ticket is created 2 years, 10 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.

This topic contains 2 replies, has 2 voices.

Last updated by Jaime 2 years, 10 months ago.

Author
Posts
#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.
hidden link (All locations available)
or here
hidden 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.
hidden 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

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01: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: hidden 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: hidden link

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

#2101097

Thank you for your info Nigel.
🙂

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.