A
A
Alexander Belikov2015-12-21 09:25:53
JavaScript
Alexander Belikov, 2015-12-21 09:25:53

How to set marker on google maps using only address?

In general, I'm racking my brains on how to make the user enter an address and a marker, put it on the map. There is a geocoder, an interesting thing that can be done so that all addresses pass through it. But suddenly someone knows how this thread can be done much easier?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nicholas, 2015-12-21
@healqq

How do you imagine that?
A person enters for example: Vasya Pupkin street 27 and is he labeled? And if there are 200 of these Vasya Pupkin streets?
For this, a geocoder is needed - it finds the most suitable places using the available text input.
And in general, there is nothing complicated in the geocoder.

N
nozzy, 2015-12-21
@nozzy

All you need is in this example:
https://developers.google.com/maps/documentation/j...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question