Skip to content

Instantly share code, notes, and snippets.

View hehazelhorst's full-sized avatar

Hans Erik Hazelhorst hehazelhorst

View GitHub Profile
@RikdeBoer
RikdeBoer / 4b-Leaflet-marker-rotated-with-indicator.html
Created December 21, 2019 06:29
Leaflet marker rotated, with indicator
<!DOCTYPE html>
<html lang="en">
<head>
<title>Leaflet - Rotated marker with inidicator</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js" integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew==" crossorigin=""></script>
<style>
.mymarker svg path { fill: dodgerblue; }