A utility for getting geo-location information via HTML5 and IP look-ups, geocoding, address look-ups, distance and durations, timezone information and more...
This is a great library and I really like to use this as the methods are very intuitive. However, the geocode method makes a Google Geocoding API call. Google has enforced that a web-api call should use IP Address Restricted Key (Server Key) - https://developers.google.com/maps/faq#switch-key-type. However, my requirement and that of this library's is to make the call from browser and therefore IP Address restricted key will not work.
Google has Javascript API for Geocoding which makes use of HTTP Referrer restriction. Instead of calling the WebAPI, I think we should call the Javascript API of Google's.
Either I am doing something wrong as everybody using this library will be facing the issue or consumers of this library are just using a unrestricted key. Can you please help?
Hi,
This is a great library and I really like to use this as the methods are very intuitive. However, the geocode method makes a Google Geocoding API call. Google has enforced that a web-api call should use IP Address Restricted Key (Server Key) - https://developers.google.com/maps/faq#switch-key-type. However, my requirement and that of this library's is to make the call from browser and therefore IP Address restricted key will not work.
Google has Javascript API for Geocoding which makes use of HTTP Referrer restriction. Instead of calling the WebAPI, I think we should call the Javascript API of Google's.
Either I am doing something wrong as everybody using this library will be facing the issue or consumers of this library are just using a unrestricted key. Can you please help?