UNPKG

mapbox-gl-dual-scale-control

Version:
60 lines (57 loc) 1.3 kB
.maphubs-ctrl-scale { border: none !important; padding: 0 !important; background-color: inherit !important; position: relative; height: 22px; position: absolute; bottom: 5px; right: 5px; height: 34px; margin: 0px !important; } .map-position { height: 12px; width: 75px; position: absolute; top: 0; right: 0; background-color: rgba(255, 255, 255, 0.55); font-size: 10px; line-height: 10px; text-align: center; box-shadow: none !important; color: #333; } .metric-scale { height: 12px; font-size: 10px; line-height: 10px; text-align: center; box-shadow: none !important; background-color: rgba(255, 255, 255, 0.55); border-width: medium 2px 2px; border-style: none solid solid; border-color: #333; padding: 0 5px; color: #333; position: absolute; top: 12px; right: 0; } .imperial-scale { height: 12px; font-size: 10px; line-height: 10px; text-align: center; box-shadow: none !important; background-color: rgba(255, 255, 255, 0.55); border-width: medium 2px 2px; border-style: solid solid none; border-color: #333; padding: 0 5px; color: #333; position: absolute; bottom: 0; right: 0; }