You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot seem to get the popup to update when the data changes. Any suggestions?
Example HTML:
<dom-moduleid="x-app"><template><leaflet-map><leaflet-markerlatitude="51.5" longitude="-0.09" title="Popup Demo"><p>Content <span>[[num]]</span></p><!-- Num should be 2 after a while, but perpetually remains 1 --></leaflet-marker></leaflet-map></template><script>Polymer({is: 'x-app',properties: {num: {type: Number,value: 1}},ready: function(){this.async(function(){this.num++},2000);}});</script></dom-module>
The text was updated successfully, but these errors were encountered:
The same to me. But, I use dom-repeat in order to represent diferent points that could be changed, however, they don't change neither latitudes nor longitudes.
I cannot seem to get the popup to update when the data changes. Any suggestions?
Example HTML:
The text was updated successfully, but these errors were encountered: