A
A
Andrey Boychenko2016-04-25 21:47:35
Google
Andrey Boychenko, 2016-04-25 21:47:35

Google maps api, chain of establishments?

Good evening! There is a task - on the site: a form and a map. There is a certain network of establishments that are not displayed on the map. If you enter any address or keyword into the form, for example - khreschatyk, then the map should display the closest establishment from this network to khreschatyk. Is there a ready-made library or does everything need to be written by hand, trudging through the Google maps API documentation? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrzej Wielski, 2016-04-26
@Ka4_Piton

The library is ready. Its name is Google Maps API.
You will not find a more ready-made option :)
All you need to write is an array with points, a loop with a map output, and when you click on the button, search by geolocation and display the nearest point. There are ready-made methods for all this (you only need 3 of them - a label, a geobase search, and the nearest label by coordinates).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question