Skip to content

Instantly share code, notes, and snippets.

Last active January 6, 2017 22:15
What would you like to do?
SVG default overlay in Leaflet v 1.0
<!DOCTYPE html>
<html xmlns="">
<title>SVG default SVG in Leaflet 1.0</title>
<link rel="stylesheet" href="" />
body {
margin: 0px;
#map {
position: absolute;
height: 100%;
width: 100%;
background-color: #333;
<script src=""></script>
<script src="" charset="utf-8"></script>
<div id="map">
<div id="tooltip" style="width:230px; height:100px;">
var lmap = new'map').setView([50.00, 14.44], 9)
var circles = new L.LayerGroup();
var radius = 3;
for (var i = 0; i <data.length; i++) {
var d = data[i];
var circle =[d[0],d[1]], radius, {
color: 'red',
fillColor: '#f03',
fillOpacity: 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment