Reputation: 3317
I've been trying to use google maps api to auto fill a location field (using javascript) I used the establishment filtering as I only wanted specific places. But I realized that establishments was still too broad. Is it possible to narrow it down even more ? I wanted to narrow it down to only hospitals, clinics, etc. This link Says that only geocode, establishment and regions are possible in autocomplete.
I wanted to use more specific types like the ones found in this link I wasn't able to find any resource which explains how to use those types for auto complete. Can someone help me out with this ?
PS : I'm using maps api v3
Upvotes: 0
Views: 1002
Reputation: 1474
If you want only specific places like hospitals or pharmacy etc, you can use PlacesService to find the exact locations available. Pre-fetch these places based on location and show them as autocomplete suggestion. Hope this helps.
Upvotes: 1