Google maps hacks part1 - auto-suggest location in <input>

As I'm hacking around Google Maps API, I tried to write some libraries around it in order to ease futher developments around this very cool API! The first library brings auto-suggest in html inputs, so users can see a dynamic list of cities name when they start typing in a form :)

Here is the source code of it, licenced under LGPL:
https://github.com/ochameau/google-map-api-suggest

And what users may expect: gmapi-suggest-sc1.png gmapi-suggest-sc2.png

Comments

You can use your Fediverse (i.e. Mastodon, among many others) account to reply to this post
(Note that comments from locked accounts won't be visible on the blog, but only to me)