L
L
Lev Aleksandrov2022-01-18 16:47:57
Google Maps
Lev Aleksandrov, 2022-01-18 16:47:57

How to build a route and add photos to the map?

I need to build a route from several points (markers) and near each point display a small picture with a number next to it (number of photos). When you click on this photo, a popup with a gallery (slider) should open.

Maybe someone came across a similar one, which is better to use for this task: google or yandex maps?
Googling, I found the following:
For laying routes in Yandex, the multiRoute class is used, in Google DirectionsService.
But I didn’t figure out how to add pictures either in Google or Yandex. From all that I watched, probably overlays in google maps are more suitable (or not)? Don't know. Or maybe you need to make a marker with a custom image and a label (number of photos) and process a click on this marker?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2022-01-18
@freeExec

There is no built-in one, although maybe someone has done similar projects and it’s worth looking for them on github. But still, you should expect that you will have to program all these circles of markers and photo carousels and other subtleties of yours.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question