Street King is a map based street quiz. It relies on geolocation by the OpenStreetMap project and map tiles from Stamen Design.
It was originally designed and developed for the Manchester Fire Department (Eighth Utilities District) in Manchester, CT. As such, the currently available implementation of it is configured for use by them.
There is a live implementation available at https://roblevesque.github.io/streetking/
Be aware that this instance is setup for 'production' use in the originally intended department. To modify it for your own use, please see the next section.
Any other department is welcome to either clone the code to their own server or to fork the repo and run it on GitHub pages.
In either case there are two things that must be modified to localize it for your own district.
- Copy
config.json.dist
toconfig.json
and copyassets/streetlist.json.dist
toassets/streetlist.json
- In
config.json
you will want to modify thelocation
option to fit your location. I'd recommend a similar format to what is already there: 'Town, State Zip Country' - Modify
assets/streetlist.json
with a list of streets and cross streets or hints at your pleasure. The format forstreetlist.json
is as follows:
[
["Street Rd","Some hint"],
["Street2 Ln","Some hint"]
]
Please note that street names need to match exactly what is listed/shown on OpenStreetMaps.
Limited support is available via GitHub issue reports. I'll do my best to assist but I make no promises or warranties. Bug reports should also be submitted via the GitHub issue report system.
Please.