Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2m/citywasp-locations
https://github.com/2m/citywasp-locations
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/2m/citywasp-locations
- Owner: 2m
- Created: 2016-01-01T13:59:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-01T14:28:56.000Z (almost 9 years ago)
- Last Synced: 2023-03-11T12:57:36.072Z (over 1 year ago)
- Language: Scala
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Location list for CityWasp parking spots.
List can be generated by running the following script in the DOM:
```js
var features = opts.zoneslocations.concat().sort(function(a, b) { return a.id - b.id }).map(zone => {
return {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [zone.lon, zone.lat]
},
"properties": {
"id": zone.id,
"name": zone.name,
"address": zone.address
}
};
})
var collection = {
"type": "FeatureCollection",
"features": features
}
console.log(JSON.stringify(collection, null, 2))
```