Google API HTTP referrer not allow on localhost cordova

GoogleGoogle API

A possible fix could be that the entry localhost:port/* is needed in authorized HTTP referrers.

Entering a specific port number doesn’t work with wildcard. Enterpring ‘port’ for some reason seams to work.

http://stackoverflow.com/questions/9321816/google-maps-v3-api-key-local-computer-error-googlegoogle-has-disabled-use-of-th

 

Alternative Fix:

Create a new API key and leave the HTTP referrer blank. Use the development API key on you local host instances and use a production API on you production instances.