I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
| function toWKT(layer) { | |
| var lng, lat, coords = []; | |
| if (layer instanceof L.Polygon || layer instanceof L.Polyline) { | |
| var latlngs = layer.getLatLngs(); | |
| for (var i = 0; i < latlngs.length; i++) { | |
| latlngs[i] | |
| coords.push(latlngs[i].lng + " " + latlngs[i].lat); | |
| if (i === 0) { | |
| lng = latlngs[i].lng; | |
| lat = latlngs[i].lat; |
I wouldn't be so alone
If my Github followers lived in my home
Alex Russell would send a pull request
But I'd be too busy
Return to San Francisco by nine
| # watch a file changes in the current directory, | |
| # execute all tests when a file is changed or renamed | |
| $watcher = New-Object System.IO.FileSystemWatcher | |
| $watcher.Path = get-location | |
| $watcher.IncludeSubdirectories = $true | |
| $watcher.EnableRaisingEvents = $false | |
| $watcher.NotifyFilter = [System.IO.NotifyFilters]::LastWrite -bor [System.IO.NotifyFilters]::FileName | |
| while($TRUE){ |