Buttonless geocoding, second version

Just type and when happy, hit Enter or click outside text field.

More technically

Geocoding is requested by keyup event of text field. The result is displayed above the text field. Map is set to the result by 'change' event. (IE doesn't trigger 'change' by Enter key.)

Request is not sent if the previuos request was sent less than 300ms ago.

Try this placename




First version


makeMarker() with sidebar

Geocoder viewport visualized

More experiments

Rent A Coder