简体   繁体   中英

Using Gmaps.js with a search field

Is there a way to use a search field to seek addresses on the Gmaps.js library?

Also, can I get the coordinates from this address to save on my database?

I followed the Google Maps V3 API and managed to get this result, but I'm wondering if through this javascrips library is also possible. Cheers

Yes you can. For a live example, please see link .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM