Manmohan Gusain
Manmohan Gusain

Reputation: 48

how to restrict google map api to find places within a specific country and city both?

I have search lot many sites but didn't find anything related to the same . I'll be great thankful if someone helps me.

Upvotes: 0

Views: 1443

Answers (1)

ArunRaj
ArunRaj

Reputation: 1790

Use component filters. That will do your task.

But it has limitation. you could restrict only one country at a time( you cant restrict with multiple country, But you can trigger it out in some other ways)

Demo . The demo is self explanatory. In the demo, You can only find the places in INDIA at the text box (You cant find other places in the world).

Upvotes: 1

Related Questions