Saltar navegación

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

This support ticket is created hace 3 años, 7 meses. 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.

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Jaime hace 3 años, 7 meses.

Autor
Mensajes
#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.
enlace oculto (All locations available)
or here
enlace oculto (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.
enlace oculto
(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

Idiomas: Inglés (English ) Español (Español )

Zona horaria: 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: enlace oculto

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: enlace oculto

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

#2101097

Thank you for your info Nigel.
🙂