From a35efb6373036f6008fa7a9d052babcb3de4a158 Mon Sep 17 00:00:00 2001 From: kimagure44 Date: Thu, 2 Aug 2018 01:25:25 +0200 Subject: [PATCH] Update google-map-market.html Attempted to use the attribute 'hidden' in polymer 2 I check that it does not work, as in polymer 1. In Polymer 1 in this component you use the attribute 'hidden' and it is shown or hidden. When you use this component in Polymer 2 the hidden attribute is not working as in Polymer 1, it only works the first time. Adding a new attribute that I have called 'show' can control the visibility of the marker, and it works in both Polymer 1 and Polymer 2, because it keeps the use of the 'hidden' attribute for Polymer 1 and the new 'show' attribute for Polymer 1 and 2 --- google-map-marker.html | 72 +++++++++++++++++++++++++++--------------- 1 file changed, 47 insertions(+), 25 deletions(-) diff --git a/google-map-marker.html b/google-map-marker.html index 1900fa3..caab406 100644 --- a/google-map-marker.html +++ b/google-map-marker.html @@ -43,7 +43,7 @@