equal
deleted
inserted
replaced
71 }); |
71 }); |
72 |
72 |
73 map.on('move', map_move); |
73 map.on('move', map_move); |
74 |
74 |
75 L.tileLayer(map_config.tile_url, { |
75 L.tileLayer(map_config.tile_url, { |
|
76 server: map_config.tile_server, |
76 name: map_config.tile_name, |
77 name: map_config.tile_name, |
77 minZoom: 0, |
78 minZoom: 0, |
78 maxZoom: map_config.tile_zoom, |
79 maxZoom: map_config.tile_zoom, |
79 tileSize: map_config.tile_size, |
80 tileSize: map_config.tile_size, |
80 continuousWorld: true, |
81 continuousWorld: true, |
84 }).addTo(map); |
85 }).addTo(map); |
85 |
86 |
86 // controls |
87 // controls |
87 L.control.link({ |
88 L.control.link({ |
88 url: map_config.image_url, |
89 url: map_config.image_url, |
|
90 server: map_config.image_server, |
89 name: map_config.image_name, |
91 name: map_config.image_name, |
90 }).addTo(map); |
92 }).addTo(map); |
91 |
93 |
92 // set position |
94 // set position |
93 var x = bounds.getCenter().lng; |
95 var x = bounds.getCenter().lng; |