diff --git a/OsmAnd/assets/server/css/leaflet.awesome-markers.css b/OsmAnd/assets/server/css/leaflet.awesome-markers.css new file mode 100644 index 0000000000..266b57271e --- /dev/null +++ b/OsmAnd/assets/server/css/leaflet.awesome-markers.css @@ -0,0 +1,57 @@ +/* +Author: L. Voogdt +License: MIT +Version: 1.0 +*/ + +/* Marker setup */ +.awesome-marker { + margin-top:-42px; + margin-left: -17px; + position:absolute; + left:0; + top:0; + display: block; + text-align: center; +} + +.awesome-marker .material-icons { + font-size: 17px; +} + +.awesome-marker-shadow { + background: url('/images/markers-shadow.png') no-repeat 0 0; + width: 36px; + height: 16px; +} + +/* Retina displays */ +@media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2), +(-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) { + .awesome-marker-shadow { + background-image: url('/images/markers-shadow@2x.png'); + background-size: 35px 16px; + } +} + +.awesome-marker i { + color: #333; + margin-top: 10px; + display: inline-block; + font-size: 14px; +} + +.awesome-marker .icon-white { + color: #fff; +} + +/* Colors */ + +.awesome-marker-background { + fill: #fff; +} + +.awesome-marker:hover { + top: 2px; + opacity: 0.9; +} diff --git a/OsmAnd/assets/server/go.html b/OsmAnd/assets/server/go.html index 779e306932..8837fdbcd2 100644 --- a/OsmAnd/assets/server/go.html +++ b/OsmAnd/assets/server/go.html @@ -17,57 +17,60 @@ + + +