From 9008aa264b875cd65be62e1c8e0cafc16e45d56f Mon Sep 17 00:00:00 2001 From: Dennis Bruijn Date: Wed, 18 Jan 2017 16:37:02 +0100 Subject: [PATCH] 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. --- src/plugins/googlemap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/googlemap.ts b/src/plugins/googlemap.ts index 9454e7bf4..678bb466e 100644 --- a/src/plugins/googlemap.ts +++ b/src/plugins/googlemap.ts @@ -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 * // - * //
+ * //
* //
* * // create a new map by passing HTMLElement