We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137025f commit 87d970eCopy full SHA for 87d970e
README.md
@@ -30,6 +30,27 @@ var plottedPolyline = L.Polyline.Plotter([
30
plottedPolyline.getLatLngs();
31
```
32
33
+### Read only plot
34
+
35
+default: `false`
36
37
+With the plotter, you can create a plot with the options when initializing:
38
39
+```javascript
40
+var plottedPolyline = L.Polyline.Plotter([
41
+ [51.53662, -0.09218]
42
+],{
43
+ weight: 5,
44
+ readOnly: true
45
+}).addTo(map);
46
+```
47
48
+or you can set it after the fact:
49
50
51
+plottedPolyline.setReadOnly(true);
52
53
54
## Licence
55
56
Copyright (c) 2013 Nathan Mahdavi
0 commit comments