Working in the home zoom button

This commit is contained in:
mdtrooper 2016-02-23 09:33:49 +01:00
parent 967aac57ef
commit e2b8870afe
2 changed files with 2 additions and 1 deletions

View File

@ -182,6 +182,7 @@ abstract class Map {
color: white; color: white;
border-radius: 10px; border-radius: 10px;
padding: 5px; padding: 5px;
cursor:pointer;
} }
</style> </style>
<input class="vertical_range" type="range" name="range" min="-666" max="666" step="1" value="666" /> <input class="vertical_range" type="range" name="range" min="-666" max="666" step="1" value="666" />

View File

@ -65,7 +65,7 @@ MapController.prototype.init_map = function() {
} }
function home_zoom(d) { function home_zoom(d) {
console.log(888); self._zoomManager.scale(1).translate([0, 0]).event(self._viewport);
} }
function slided(d) { function slided(d) {