history: move zoom control to topright

This commit is contained in:
Nils Schneider 2015-03-20 09:57:53 +01:00
parent ec2517a12a
commit ad663f60fd

View file

@ -92,7 +92,13 @@ function handle_data(data) {
}
function mkmap(el, newnodes, lostnodes, onlinenodes) {
var map = L.map(el)
var options = { worldCopyJump: true,
zoomControl: false
}
var map = L.map(el, options)
L.control.zoom({ position: "topright" }).addTo(map)
L.tileLayer("http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg", {
subdomains: "1234",