diff --git a/plugins/tiddlywiki/geospatial/widgets/geomap.js b/plugins/tiddlywiki/geospatial/widgets/geomap.js index 834878fdf..21a62bc2d 100644 --- a/plugins/tiddlywiki/geospatial/widgets/geomap.js +++ b/plugins/tiddlywiki/geospatial/widgets/geomap.js @@ -172,7 +172,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of GeomapWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); // Refresh entire widget if layers or marker filter changes - if(changedAttributes.layers || changedAttributes.markers) { + if(changedAttributes.layers || changedAttributes.markers || changedAttributes.state) { this.refreshSelf(); return true; }