GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot load Google Maps API libraries

gaurav21r opened this issue · comments

When trying to access the geometry API via $element.map.geometry is undefined.

According to the API Docs, this can happen when the libraries parameter does not have geometry. https://developers.google.com/maps/documentation/javascript/libraries

Although this https://github.com/GoogleWebComponents/google-apis/blob/master/google-maps-api.html#L115
seems to include all Libraries.

Tracking the issue at the google-api repo here ➡️ GoogleWebComponents/google-apis#69