Advertisement
Guest User

Untitled

a guest
Apr 9th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. var myLines = [{
  2. "type": "LineString",
  3. "coordinates": [[-100, 40], [-105, 45], [-110, 55]]
  4. }, {
  5. "type": "LineString",
  6. "coordinates": [[-105, 40], [-110, 45], [-115, 55]]
  7. }];
  8.  
  9. var myStyle = {
  10. "color": "#ff7800",
  11. "weight": 5,
  12. "opacity": 0.65
  13. };
  14.  
  15. L.geoJson(myLines, {
  16. style: myStyle
  17. }).addTo(map);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement