I am using Google Maps for a website in india. Everything is good except one issue, there is border issue between india and pakistan. and google has resolved it(from map point of view) by using different domain names.
So on maps.google.co.uk it shows the problematic area(North West part) with a dotted line(in Jammu and kashmir) but in maps.google.co.in it doesn't shows the problematic area with a dotted line(in Jammu and kashmir) to keep indian government happy.
Now when i use google api url https://maps.googleapis.com/maps/api/js?key=mykey
I get map displayed by maps.google.co.uk but not by maps.google.co.in
So is there any way we can specify the domain for map data returned by google maps api.
ofcourse https://maps.googleapis.co.in doesn't work.
The Google Maps API is one of those clever bits of Google technology that helps you take the power of Google Maps and put it directly on your own site. It lets you add relevant content that is useful to your visitors and customise the look and feel of the map to fit with the style of your site.
As mentioned, you won't be charged for your Google Maps API usage until you turn on auto-billing. The free trial limits you to $300 in credit over 90 days. API users also get $200 of credit per month toward API requests, equal to 100,000 static map requests or around 28,000 dynamic map requests per month.
Google Maps is the king of mobile navigation in India, no doubt. Launched in 2005, the navigation app is used by both people and some services like Uber that use Google's mapping solution.
All Maps Embed API requests are available at no charge with unlimited usage.
You need to give an extra parameter region
for API call to get region based map:
https://maps.googleapis.com/maps/api/js?key=yourkey®ion=IN
More info at: https://developers.google.com/maps/documentation/javascript/localization#Region
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With