docs(google-maps): make it clear that the map element needs a height (#984)

I added a change that makes it clear that the map element needs a height to be visible.

I tried to follow the docs but It didn't work, after that I thought my API keys were invalid, at the end it turned out the map wasn't visible at all.
This commit is contained in:
Dennis Bruijn 2017-01-18 16:37:02 +01:00 committed by Ibby Hadeed
parent 33ca56a151
commit 9008aa264b

View File

@ -60,8 +60,9 @@ export const GoogleMapsAnimation = {
*
* loadMap() {
* // make sure to create following structure in your view.html file
* // and add a height (for example 100%) to it, else the map won't be visible
* // <ion-content>
* // <div #map id="map"></div>
* // <div #map id="map" style="height:100%;"></div>
* // </ion-content>
*
* // create a new map by passing HTMLElement