Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myLines = [{
- "type": "LineString",
- "coordinates": [[-100, 40], [-105, 45], [-110, 55]]
- }, {
- "type": "LineString",
- "coordinates": [[-105, 40], [-110, 45], [-115, 55]]
- }];
- var myStyle = {
- "color": "#ff7800",
- "weight": 5,
- "opacity": 0.65
- };
- L.geoJson(myLines, {
- style: myStyle
- }).addTo(map);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement