@dossierhq/leaflet
Version:
A library for rendering maps in Dossier with Leaflet.
12 lines (9 loc) • 2.23 kB
CSS
.icon-map-location {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd%3bclip-rule:evenodd%3bstroke-linejoin:round%3bstroke-miterlimit:2' viewBox='0 0 32 32'%3e%3cpath d='M22.627 7.124 8.01 13.87c-1.686.787-1.124 3.261.675 3.261h6.184v6.184c0 1.799 2.474 2.361 3.261.675l6.746-14.617c.562-1.35-.9-2.812-2.249-2.249Z' style='fill:%23444%3bfill-rule:nonzero'/%3e%3c/svg%3e");
}
.icon-map-marker {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd%3bclip-rule:evenodd%3bstroke-linejoin:round%3bstroke-miterlimit:2' viewBox='0 0 22 28'%3e%3cpath d='M9.748 26.475C2.37 15.779 1 14.681 1 10.75A9.75 9.75 0 0 1 10.75 1a9.75 9.75 0 0 1 9.75 9.75c0 3.931-1.37 5.029-8.748 15.725-.484.7-1.52.7-2.004 0Zm1.002-9.094a6.631 6.631 0 1 0 0-13.263 6.631 6.631 0 0 0 0 13.263Z' style='fill:url(%23a)%3bfill-rule:nonzero%3bstroke:%23061624%3bstroke-width:.4px'/%3e%3cdefs%3e%3clinearGradient id='a' x1='0' x2='1' y1='0' y2='0' gradientTransform='matrix(13 29 29 -13 3 -2)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' style='stop-color:black%3bstop-opacity:1'/%3e%3cstop offset='1' style='stop-color:%238ed8ff%3bstop-opacity:1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
}
.icon-map-marker-current {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd%3bclip-rule:evenodd%3bstroke-linejoin:round%3bstroke-miterlimit:2' viewBox='0 0 22 28'%3e%3cpath d='M9.825 26.475C2.447 15.779 1.077 14.681 1.077 10.75c0-5.385 4.366-9.75 9.75-9.75a9.75 9.75 0 0 1 9.75 9.75c0 3.931-1.369 5.029-8.748 15.725-.484.7-1.519.7-2.004 0Zm1.002-9.094a6.63 6.63 0 1 0 0-13.262 6.631 6.631 0 0 0 0 13.262Z' style='fill:url(%23a)%3bfill-rule:nonzero%3bstroke:%23061624%3bstroke-width:.4px'/%3e%3cdefs%3e%3clinearGradient id='a' x1='0' x2='1' y1='0' y2='0' gradientTransform='matrix(13 29 29 -13 3.077 -2)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' style='stop-color:black%3bstop-opacity:1'/%3e%3cstop offset='1' style='stop-color:%23ff6097%3bstop-opacity:1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
}