Fixed the last commit.

This commit is contained in:
mdtrooper 2016-02-24 14:12:07 +01:00
parent 6c037e0ef7
commit 6d7286ec6f
2 changed files with 6 additions and 6 deletions

View File

@ -134,7 +134,7 @@ abstract class Map {
?> ?>
<div id="map" data-id="<?php echo $this->id;?>" style="border: 1px red solid;"> <div id="map" data-id="<?php echo $this->id;?>" style="border: 1px red solid;">
<div class="zoom_box" style=""> <div class="zoom_box" style="position: absolute;">
<style type="text/css"> <style type="text/css">
.zoom_controller { .zoom_controller {
width: 30px; width: 30px;
@ -142,7 +142,7 @@ abstract class Map {
background: blue; background: blue;
border-radius: 15px; border-radius: 15px;
top: 100px; top: 50px;
left: 10px; left: 10px;
position: absolute; position: absolute;
} }
@ -177,7 +177,7 @@ abstract class Map {
} }
.home_zoom { .home_zoom {
top: 360px; top: 310px;
left: 10px; left: 10px;
display: table-cell; display: table-cell;
@ -199,7 +199,7 @@ abstract class Map {
left: 10px; left: 10px;
display: table-cell; display: table-cell;
position: relative; position: absolute;
font-weight: bolder; font-weight: bolder;
font-size: 20px; font-size: 20px;
background: blue; background: blue;
@ -213,7 +213,7 @@ abstract class Map {
} }
.zoom_out { .zoom_out {
top: 320px; top: 270px;
left: 10px; left: 10px;
display: table-cell; display: table-cell;

View File

@ -89,7 +89,7 @@ MapController.prototype.init_map = function() {
self._slider.property("value", Math.log(zoom_level)); self._slider.property("value", Math.log(zoom_level));
self._slider.on("input")(); self._slider.on("input")();
} }
/** /**
Function zoom_out Function zoom_out
Return void Return void