Google Maps API Places Service (types) -


i have looked @ google's preset list of place types. found 1 'establishment' want populate markers popular places visit in city example. problem 'hospital' displayed under category want remove. there way accomplish this, or there free tourist attractions api works google maps?

a single place can have 1 or many types. have list types, test one's want. if find 1 don't want don't use it, you're gonna have test each possible type don't want.

another way that, instead of using 'establishment' main type (this common type), select places "museum", "point_of_interest", , many others. take @ the full list here.

for each place get, use getplacetypes() return list of types, can test desired type.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -