I’m writing a Chrome extension to add Google Maps autocomplete to Google Calendar’s new event location input. I’m trying to load the library in the extension context but it blocks saying [blocked] The page at domain.com ran insecure content from anotherdomain.com.
I of course have added http://anotherdomain.com to the manfest.json in the “permissions” key. In order to load the actual places library I just downloaded it from http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true, since i didn’t know how to add it directly to the extension.
So far, it seems it is impossible, so I just used the JSON API and jQuery UI’s autocomplete. Here’s my trivial implementation https://gist.github.com/3623683