简体   繁体   中英

Search MySQL data using Google Maps v3 API

I have made a system/web app that will view resident info from the map. My problem is how can I search resident with inputted value('name','last name',etc...) from text field and displays all result in a marker (with infowindow content) in the map with a value like in the text field?

I use codeigniter-googlemaps-v3 API library and Google Maps V3 API. Any help, suggestions, ideas and sample codes is heavenly appreciated.

I solved it. See this link , all my codes are there on how I solve the problem. The codes are in AJAX and in Controller form.

Although it's not complete, since you'll see at the link that there is an additional problem. And I base the solution on this 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