Skip to content

Instantly share code, notes, and snippets.

@christianhent christianhent/map.php
Last active Dec 16, 2017

Embed
What would you like to do?
disables the standard zoom control
<script>
// ... existing map code
// ...
// set {zoomControl: false} to disable the default zoom control
var map = new L.Map('map',{
fullscreenControl: true,
zoomControl: false,
fullscreenControlOptions: {
position: 'topleft'
},
layers: [tile]
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.