Fix typos

This commit is contained in:
Markus Ankenbrand 2016-11-05 20:56:48 +01:00
parent 4f34d2111d
commit 60c8a057ab

View file

@ -115,9 +115,10 @@
marker.setVisible(true);
bounds.extend(marker.getPosition());
}
this.map.fitBounds(bounds);
if(this.map.getZoom() > 15)
this.map.setZoom(15);
map.fitBounds(bounds);
if(map.getZoom() > 15){
map.setZoom(15);
}
}
</script>
</div>