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
Post a Comment