From the previous post: "Next logical step of development will be to display all the alternative addresses as a selectable list."
While developing, I found this kind of user interface very handy. You can even learn something new while typing. I like it better than classic maps.google.com.
Maybe I should give a hint to maps.google.com people:)
Play with it and comment please.
<joke>
Many geocoders recognize a placename "undefined".
Friday, January 22, 2010
Thursday, January 21, 2010
Buttonless geocoder [2]
Google's geocoding service is enhanced continuously. It doesn't read your thoughts yet but it is quite forgiving with typos and missing characters.
Now you can see the geocoding result after every character you type in the new geocoder experiment. When you agree with the result in the display, click outside text field or hit Tab or Enter (not IE) and the map is updated too.
So the geocoding request is sent by 'keyup' and map is set by 'change' events of text input field. Clicking on map does not blur the text field and does not trigger 'change'. That is still waiting for a great idea.
Some people can type damn fast. Therefore the geocoding requests are limited to maximum three requests per second.
The 'hint' display shows the first address of the response set. Next logical step of development will be to display all the alternative addresses as a selectable list.
Now you can see the geocoding result after every character you type in the new geocoder experiment. When you agree with the result in the display, click outside text field or hit Tab or Enter (not IE) and the map is updated too.
So the geocoding request is sent by 'keyup' and map is set by 'change' events of text input field. Clicking on map does not blur the text field and does not trigger 'change'. That is still waiting for a great idea.
Some people can type damn fast. Therefore the geocoding requests are limited to maximum three requests per second.
The 'hint' display shows the first address of the response set. Next logical step of development will be to display all the alternative addresses as a selectable list.
Sunday, January 17, 2010
Custom map types in v3
The latest version update (3.25) introduced custom map types for api v3. The interface is nice. If you are familiar with custom tile sets in v2, there are not many new things to learn. There are three types of custom tile based map types.
The non-image map type makes it possible to create tile layers with SVG, canvas or any html elements.
- Image map type, like Open Streetmap tiles in the example page
- Image overlay map type, like the Traffic tiles in the example page
- Non-image tile based map type
The non-image map type makes it possible to create tile layers with SVG, canvas or any html elements.
Subscribe to:
Posts (Atom)