bigger zoomin/out buttons in the mobile-navigation example, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11233 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@@ -5,6 +5,7 @@
|
|||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<title>OpenLayers TouchNavigation Control</title>
|
<title>OpenLayers TouchNavigation Control</title>
|
||||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="style.mobile.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
<script type="text/javascript" src="../lib/OpenLayers.js"></script>
|
<script type="text/javascript" src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript" src="mobile-navigation.js"></script>
|
<script type="text/javascript" src="mobile-navigation.js"></script>
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
div.olControlZoomPanel {
|
||||||
|
height: 108px
|
||||||
|
width: 36px;
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
div.olControlZoomPanel div {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
background-image: url(img/mobile-zoombar.png);
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
div.olControlZoomPanel .olControlZoomInItemInactive {
|
||||||
|
top: 0;
|
||||||
|
background-position: 0 0;
|
||||||
|
}
|
||||||
|
div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
|
||||||
|
top: 36px;
|
||||||
|
background-position: 0 -36px;
|
||||||
|
}
|
||||||
|
div.olControlZoomPanel .olControlZoomOutItemInactive {
|
||||||
|
top: 72px;
|
||||||
|
background-position: 0 -72px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user