GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to do near by search instead of text search using google-map-search

cvenkatasuresh opened this issue · comments

Am trying to get near by places for a given set of place types by using google-map-search component with out specifying search query, but current implementation return results only if query text is not empty? Any suggestions?

<google-map-search map="[[map]]" query="" types="bowling_alley casino movie_rental movie_theater"> </google-map-search>

There's not. Does this even work in the Maps API-prop? types are filtering of the query text.

We'd have to provide a new method that does the nearbySearch. File a feature request?