Fix typo. Add this

This commit is contained in:
Markus Ankenbrand 2016-11-05 20:55:05 +01:00
parent a48654ca65
commit 4f34d2111d

View file

@ -116,8 +116,8 @@
bounds.extend(marker.getPosition()); bounds.extend(marker.getPosition());
} }
this.map.fitBounds(bounds); this.map.fitBounds(bounds);
if(map.getZoom() > 15) if(this.map.getZoom() > 15)
map.setZoom(15); this.map.setZoom(15);
} }
</script> </script>
</div> </div>