V
V
Vladimir Ionenko2017-05-06 00:51:02
css
Vladimir Ionenko, 2017-05-06 00:51:02

How to add search to google map?

Good day, tell me how to add a search button and actually implement the search mechanism. Just like it is implemented here https://snazzymaps.com/style/38/shades-of-grey. There is a search button on the map in the upper right corner. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VisualIdeas, 2017-05-06
@VisualIdeas

Colleague, there is a direct example in the OFF documentation:
https://developers.google.com/maps/documentation/j...
But this is only on the frontend, if you want to do something more complicated and search and display something on the server, then you to help https://developers.google.com/maps/documentation/g...
But remember that no more than 2500 requests per day are free

D
dummyman, 2017-05-06
@dummyman

A good open source project Nominatim can be responsible for finding the coordinates of a place by address or back of an address by coordinates . You can make a local version of the database. Usually he is fed OSM cards like these . You can use other sources, including proprietary ones. If you have specific ideas, please contact the authors of the project. They must be happy to help and join forces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question