Working in the home zoom button
This commit is contained in:
parent
967aac57ef
commit
e2b8870afe
|
@ -182,6 +182,7 @@ abstract class Map {
|
|||
color: white;
|
||||
border-radius: 10px;
|
||||
padding: 5px;
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
<input class="vertical_range" type="range" name="range" min="-666" max="666" step="1" value="666" />
|
||||
|
|
|
@ -65,7 +65,7 @@ MapController.prototype.init_map = function() {
|
|||
}
|
||||
|
||||
function home_zoom(d) {
|
||||
console.log(888);
|
||||
self._zoomManager.scale(1).translate([0, 0]).event(self._viewport);
|
||||
}
|
||||
|
||||
function slided(d) {
|
||||
|
|
Loading…
Reference in New Issue