restructure website for better data integration
Big commit here. This moves the "data" directory inside the website, and then uses fetch to bring the csv and geoJSON files into the map instead of copy-pasting into JS files. Much cleaner and reduces steps from updating a CSV to updating the actual website. Now we simply need to git pull on the webserver (unless the updated data is for library services rather than library locations). Also cleans up some styling. Also removes my MapBox secrets from the Git repo whoops. These are now brought in via a secrets.js file that simply declares a constant. This file will not be visible in the repo. Fixes #14
This commit is contained in:
parent
93a357226d
commit
0bd4b4892f
|
@ -11,7 +11,7 @@
|
|||
<body>
|
||||
<header>
|
||||
<section id="title">
|
||||
<a href="../"><img id="logo" src="/logo.svg"/></a>
|
||||
<a href="/"><img id="logo" src="/logo.svg"/></a>
|
||||
<h2>About Library Map</h2>
|
||||
<p id="beta">Beta!</p>
|
||||
</section>
|
||||
|
|
1
website/data/boundaries.topo.json
Normal file
1
website/data/boundaries.topo.json
Normal file
File diff suppressed because one or more lines are too long
25
website/data/ikcs.csv
Normal file
25
website/data/ikcs.csv
Normal file
|
@ -0,0 +1,25 @@
|
|||
lat,lng,town,address,phone
|
||||
-13.355047,141.727925,Aurukun (Wik Mungkan Indigenous Knowledge Centre),Wik Mungkan Indigenous Knowledge Centre ,07 4060 6833
|
||||
-10.159918,142.166344,Badu Island Indigenous Knowledge Centre,Nona Street ,07 4083 2100
|
||||
-10.887686,142.388488,Bamaga Indigenous Knowledge Centre,HACC Centre Building ,07 4048 6607
|
||||
-9.231144,142.220819,Boigu Island Indigenous Knowledge Centre,66 Chamber Street ,07 4083 2010
|
||||
-9.412457,142.539399,Dauan Island Indigenous Knowledge Centre,Main Street ,07 4083 2209
|
||||
-9.597055,143.761337,Erub Island Indigenous Knowledge Centre,Madige Village ,07 4083 2206
|
||||
-10.553984,142.217633,Hammond Island Indigenous Knowledge Centre,Hammond Island IKC ,07 4048 6000
|
||||
-10.234978,142.216998,Kubin Indigenous Knowledge Centre,Main Street ,07 4083 2403
|
||||
-12.785393,143.343311,Lockhart River Indigenous Knowledge Centre,Poucheewee Street ,07 4060 7050
|
||||
-10.869337,142.384311,New Mapoon Indigenous Knowledge Centre,Brown St ,07 4069 3444
|
||||
-18.733938,146.577464,Palm Island (Bwgcolman Indigenous Knowledge Center),Lot 1 Main St ,07 4770 0260
|
||||
-10.852803,142.367368,Seisia Indigenous Knowledge Centre,Tumema St ,07 4069 3690
|
||||
-10.205248,142.826876,Warraber Indigenous Knowledge Centre,Ganaia Street ,07 4083 2550
|
||||
-10.892,142.351549,Umagico Indigenous Knowledge Centre,8 Charlie Street ,07 4048 6914
|
||||
-26.293205,151.955198,Cherbourg (Winifred Fisher Knowledge Centre),Old Youth Respite Centre ,07 4168 1866
|
||||
-15.294597,145.1099,Hope Vale (Jack Bambie Memorial Centre),5 Muni Street ,07 4060 9367
|
||||
-9.899398,142.767747,Iama (Dawita Cultural Centre),Church Road ,07 4090 0738
|
||||
-9.952895,142.192801,Mabuiag (Ngalpun Ngulaygaw Lag Resource Centre),Main Street ,07 4083 2500
|
||||
-12.685013,141.886902,Napranum (Mary Ann Coconut Library),320 Wa-Tyne Street ,07 4090 5600
|
||||
-14.899197,141.620116,Pormpuraaw (Thaayorre-Munkan Library),Thaayorre-Munkan Library and Arts and Crafts Gallery ,07 4060 4266
|
||||
-10.050057,143.063986,Poruma (Ngalpun Ngulaygaw Lag),Main Street ,07 4083 2710
|
||||
-24.13366,149.457266,Woorabinda Knowledge Centre,-,0484 633 740
|
||||
-15.945075,145.319567,Wujal Wujal (Binal Mungka Bayen),Binal Mungka Bayen ,07 4060 8094
|
||||
-16.907672,145.866809,Yarrabah Knowledge Centre,Lot 207 Noble Drive ,0438 319 095
|
|
430
website/data/library_services.csv
Normal file
430
website/data/library_services.csv
Normal file
|
@ -0,0 +1,430 @@
|
|||
long_name,short_name,state,fines,standard_loan_weeks,ILS,
|
||||
Balranald Library,BALRANALD,nsw,yes,2,?,
|
||||
Christmas Island Shire Council,Christmas Island,ot,,4,?,
|
||||
Cocos Keeling Islands Shire Council,Cocos (Keeling) Islands,ot,,3,?,
|
||||
Bayside Library,BAYSIDE_NSW,nsw,yes,3,AIT Aurora,
|
||||
Hawkesbury City Council Library Service,HAWKESBURY,nsw,no,3,AIT Aurora,
|
||||
Inverell Shire Public Library,INVERELL,nsw,yes,3,AIT Aurora,
|
||||
Lane Cove Library,LANE COVE,nsw,adults,3,AIT Aurora,
|
||||
Mosman Library,MOSMAN,nsw,yes,3,AIT Aurora,
|
||||
Singleton Public Library,SINGLETON,nsw,yes,3,AIT Aurora,
|
||||
Stanton Library,STANTON,nsw,yes,3,AIT Aurora,
|
||||
"Upper Hunter Regional Library
|
||||
(Upper Hunter Library Network)",UPPER HUNTER,nsw,yes,?,AIT Aurora,
|
||||
Aurukun Shire Council,AURUKUN SHIRE,qld,no,,AIT Aurora,
|
||||
Balonne Shire Council,BALONNE SHIRE,qld,no,4,AIT Aurora,
|
||||
Banana Shire Council,BANANA SHIRE,qld,yes,3,AIT Aurora,
|
||||
Barcaldine Regional Council,BARCALDINE REGIONAL,qld,no,?,AIT Aurora,
|
||||
Barcoo Shire Council,BARCOO SHIRE,qld,no,?,AIT Aurora,
|
||||
Blackall-Tambo Regional Council,BLACKALL TAMBO REGIONAL,qld,no,?,AIT Aurora,
|
||||
Bulloo Shire Council,BULLOO SHIRE,qld,yes,3,AIT Aurora,
|
||||
Burke Shire Council,BURKE SHIRE,qld,no,4,AIT Aurora,
|
||||
Carpentaria Shire Council,CARPENTARIA SHIRE,qld,no,?,AIT Aurora,
|
||||
Central Highlands Regional Council,CENTRAL HIGHLANDS REGIONAL,qld,no,4,AIT Aurora,
|
||||
Charters Towers Regional Council,CHARTERS TOWERS REGIONAL,qld,no,4,AIT Aurora,
|
||||
Cherbourg Aboriginal Shire Council,CHERBOURG ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Cloncurry Shire Council,CLONCURRY SHIRE,qld,no,?,AIT Aurora,
|
||||
Cook Shire Council,COOK SHIRE,qld,yes,4,AIT Aurora,
|
||||
Croydon Shire Council,CROYDON SHIRE,qld,no,?,AIT Aurora,
|
||||
Diamantina Shire Council,DIAMANTINA SHIRE,qld,no,?,AIT Aurora,
|
||||
Douglas Shire Council,DOUGLAS SHIRE,qld,yes,4,AIT Aurora,
|
||||
Etheridge Shire Council,ETHERIDGE SHIRE,qld,no,?,AIT Aurora,
|
||||
Flinders Shire Council,FLINDERS SHIRE QLD,qld,no,4,AIT Aurora,
|
||||
Fraser Coast Regional Council,FRASER COAST REGIONAL,qld,no,3,AIT Aurora,
|
||||
Gladstone Regional Council,GLADSTONE REGIONAL,qld,yes,3,AIT Aurora,
|
||||
Goondiwindi Regional Council,GOONDIWINDI REGIONAL,qld,yes,4,AIT Aurora,
|
||||
Hinchinbrook Shire Council,HINCHINBROOK SHIRE,qld,no,4,AIT Aurora,
|
||||
Hope Vale Aboriginal Shire Council,HOPE VALE ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Lockhart River Aboriginal Shire Council,LOCKHART RIVER ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Longreach Regional Council,LONGREACH REGIONAL,qld,yes,3,AIT Aurora,
|
||||
Mackay Regional Council,MACKAY REGIONAL,qld,no,2,AIT Aurora,
|
||||
Maranoa Regional Council,MARANOA REGIONAL,qld,no,?,AIT Aurora,
|
||||
McKinlay Shire Council,MCKINLAY SHIRE,qld,no,4,AIT Aurora,
|
||||
Murweh Shire Council,MURWEH SHIRE,qld,no,?,AIT Aurora,
|
||||
Napranum Aboriginal Shire Council,NAPRANUM ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
North Burnett Regional Council,NORTH BURNETT REGIONAL,qld,no,?,AIT Aurora,
|
||||
Northern Peninsula Area Regional Council,NORTHERN PENINSULA AREA REGIONAL,qld,no,,AIT Aurora,
|
||||
Palm Island Aboriginal Shire Council,PALM ISLAND ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Paroo Shire Council,PAROO SHIRE,qld,no,?,AIT Aurora,
|
||||
Pormpuraaw Aboriginal Shire Council,PORMPURAAW ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Quilpie Shire Council,QUILPIE SHIRE,qld,no,?,AIT Aurora,
|
||||
Richmond Shire Council,RICHMOND SHIRE,qld,no,2,AIT Aurora,
|
||||
Somerset Regional Council,SOMERSET REGIONAL,qld,no,4,AIT Aurora,
|
||||
South Burnett Regional Council,SOUTH BURNETT REGIONAL,qld,no,4,AIT Aurora,
|
||||
Torres Shire Council,TORRES SHIRE,qld,no,,AIT Aurora,
|
||||
Torres Strait Island Regional Council,TORRES STRAIT ISLAND REGIONAL,qld,no,,AIT Aurora,
|
||||
Weipa Town Authority,WEIPA TOWN,qld,no,?,AIT Aurora,
|
||||
Whitsunday Regional Council,WHITSUNDAY REGIONAL,qld,no,3,AIT Aurora,
|
||||
Winton Shire Council,WINTON SHIRE,qld,no,?,AIT Aurora,
|
||||
Woorabinda Aboriginal Shire Council,WOORABINDA ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Wujal Wujal Aboriginal Shire Council,WUJAL WUJAL ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Yarrabah Aboriginal Shire Council,YARRABAH ABORIGINAL SHIRE,qld,no,,AIT Aurora,
|
||||
Libraries ACT,ACT,act,no,4,Civica Spydus,
|
||||
Bathurst Library,BATHURST REGIONAL,nsw,yes,4,Civica Spydus,
|
||||
Big Sky Libraries,BIG SKY,nsw,yes,4,Civica Spydus,
|
||||
Blacktown City Libraries,BLACKTOWN,nsw,no,3,Civica Spydus,
|
||||
Goulburn Mulwaree Library Service,GOULBURN MULWAREE,nsw,no,3,Civica Spydus,
|
||||
Hornsby Shire Library Service,HORSBY,nsw,yes,4,Civica Spydus,
|
||||
Inner West Council Libraries,INNER WEST,nsw,adults,3,Civica Spydus,
|
||||
Ku-ring-gai Library,KU-RING-GAI,nsw,yes,4,Civica Spydus,
|
||||
Lake Macquarie City Library,LAKE MACQUARIE,nsw,yes,4,Civica Spydus,
|
||||
Lithgow Library Learning Centre,LITHGOW,nsw,no,4,Civica Spydus,
|
||||
Liverpool City Library,LIVERPOOL,nsw,yes,?,Civica Spydus,
|
||||
Macquarie Regional Library,MACQUARIE REGIONAL,nsw,yes,3,Civica Spydus,
|
||||
Mid Western Regional Council Library Service,MID-WESTERN REGIONAL,nsw,yes,3,Civica Spydus,
|
||||
Nambucca Shire Council Libraries,NAMBUCCA,nsw,yes,3,Civica Spydus,
|
||||
North Western Library,NORTH WESTERN,nsw,?,3,Civica Spydus,
|
||||
Northern Beaches Library,NORTHERN BEACHES,nsw,yes,3,Civica Spydus,
|
||||
Oberon Council Library,OBERON,nsw,?,?,Civica Spydus,
|
||||
Penrith City Library,PENRITH,nsw,yes,3,Civica Spydus,
|
||||
Richmond Tweed Regional Library,RICHMOND TWEED REGIONAL,nsw,yes,3,Civica Spydus,
|
||||
Ryde Library Service,RYDE,nsw,yes,?,Civica Spydus,
|
||||
Strathfield Library and Information Centre,STRATHFIELD,nsw,yes,3,Civica Spydus,
|
||||
The Hills Shire Library Service,THE HILLS SHIRE,nsw,?,3,Civica Spydus,
|
||||
Upper Lachlan Library Service,UPPER LACHLAN SHIRE,nsw,yes,3,Civica Spydus,
|
||||
Willoughby City Library,WILLOUGHBY,nsw,yes,3,Civica Spydus,
|
||||
Wollondilly Library and Information Service,WOLLONDILLY,nsw,no,3,Civica Spydus,
|
||||
Wollongong City Libraries,WOLLONGONG,nsw,no,4,Civica Spydus,
|
||||
Bundaberg Regional Council,BUNDABERG REGIONAL,qld,no,3,Civica Spydus,
|
||||
Gympie Regional Council,GYMPIE REGIONAL,qld,no,3,Civica Spydus,
|
||||
Ipswich City Council,IPSWICH CITY,qld,no,4,Civica Spydus,
|
||||
Lockyer Valley Regional Council,LOCKYER VALLEY REGIONAL,qld,no,4,Civica Spydus,
|
||||
Mareeba Shire Council,MAREEBA SHIRE,qld,yes,4,Civica Spydus,
|
||||
Moreton Bay Regional Council,MORETON BAY REGIONAL,qld,yes,?,Civica Spydus,
|
||||
Noosa Shire Council,NOOSA SHIRE,qld,no,3,Civica Spydus,
|
||||
Scenic Rim Regional Council,SCENIC RIM REGIONAL,qld,no,4,Civica Spydus,
|
||||
Southern Downs Regional Council,SOUTHERN DOWNS REGIONAL,qld,yes,4,Civica Spydus,
|
||||
Sunshine Coast Regional Council,SUNSHINE COAST REGIONAL,qld,no,3,Civica Spydus,
|
||||
Tablelands Regional Council,TABLELANDS REGIONAL,qld,no,4,Civica Spydus,
|
||||
Toowoomba Regional Council,TOOWOOMBA REGIONAL,qld,no,4,Civica Spydus,
|
||||
Townsville City Council,TOWNSVILLE CITY,qld,no,4,Civica Spydus,
|
||||
Western Downs Regional Council,WESTERN DOWNS REGIONAL,qld,no,4,Civica Spydus,
|
||||
Bayside Library Service,Bayside_VIC,vic,no,4,Civica Spydus,
|
||||
Boroondara Library Service,Boroondara,vic,yes,3,Civica Spydus,
|
||||
Corangamite Regional Library Corporation,Corangamite,vic,adults,3,Civica Spydus,
|
||||
Darebin Libraries,Darebin,vic,yes,3,Civica Spydus,
|
||||
Eastern Regional Libraries Corporation,Eastern,vic,no,3,Civica Spydus,
|
||||
Frankston City Libraries,Frankston,vic,no,3,Civica Spydus,
|
||||
Glen Eira Libraries,Glen Eira,vic,yes,3,Civica Spydus,
|
||||
Goldfields Library Corporation,Goldfields,vic,yes,3,Civica Spydus,
|
||||
Maribyrnong Library Service,Maribyrnong,vic,yes,3,Civica Spydus,
|
||||
City of Melbourne Libraries,Melbourne,vic,yes,3,Civica Spydus,
|
||||
Monash Public Library Service,Monash,vic,no,4,Civica Spydus,
|
||||
Murrindindi Library Service,Murrindindi,vic,no,3,Civica Spydus,
|
||||
Port Phillip Library Service,Port Phillip,vic,no,4,Civica Spydus,
|
||||
Stonnington Library & Information Service,Stonnington,vic,?,3,Civica Spydus,
|
||||
Whitehorse Manningham Regional Library Corp,Whitehorse Manningham,vic,yes,3,Civica Spydus,
|
||||
Yarra Plenty Regional Library Service,Yarra Plenty,vic,no,3,Civica Spydus,
|
||||
Albany City Council,ALBANY,wa,,3,Civica Spydus,
|
||||
Broomehill-Tambellup Shire Council,BROOMEHILL-TAMBELLUP,wa,,3,Civica Spydus,
|
||||
Claremont Town Council,CLAREMONT,wa,,3,Civica Spydus,
|
||||
Cranbrook Shire Council,CRANBROOK,wa,,4,Civica Spydus,
|
||||
Denmark Shire Council,DENMARK,wa,,3,Civica Spydus,
|
||||
Gnowangerup Shire Council,GNOWANGERUP,wa,,3,Civica Spydus,
|
||||
Jerramungup Shire Council,JERRAMUNGUP,wa,,3,Civica Spydus,
|
||||
Katanning Shire Council,KATANNING,wa,,3,Civica Spydus,
|
||||
Kojonup Shire Council,KOJONUP,wa,,3,Civica Spydus,
|
||||
Murray Shire Council,MURRAY,wa,,3,Civica Spydus,
|
||||
Nedlands City Council,NEDLANDS,wa,,3,Civica Spydus,
|
||||
Peppermint Grove Shire Council,PEPPERMINT GROVE,wa,,3,Civica Spydus,
|
||||
Plantagenet Shire Council,PLANTAGENET,wa,,4,Civica Spydus,
|
||||
Subiaco City Council,SUBIACO,wa,,3,Civica Spydus,
|
||||
Sutherland Shire Libraries and Information Service,SUTHERLAND SHIRE,nsw,yes,3,Innovative Sierra,
|
||||
Gold Coast City Council,GOLD COAST CITY,qld,no,4,Innovative Sierra,
|
||||
Brimbank Libraries,Brimbank,vic,adults,4,Koha ILS,
|
||||
Albury City Libraries,ALBURY,nsw,yes,?,Libero,
|
||||
Armidale Regional Library,ARMIDALE REGIONAL,nsw,?,?,Libero,
|
||||
Bega Valley Shire Library,BEGA VALLEY,nsw,no,4,Libero,
|
||||
Berrigan Shire Library Service,BERRIGAN,nsw,yes,2,Libero,
|
||||
Grenfell and District Shire Library,GRENFELL,nsw,no,3,Libero,
|
||||
Gunnedah Shire Library,GUNNEDAH,nsw,yes,3,Libero,
|
||||
Hilltops Council Library,HILLTOPS,nsw,yes,3,Libero,
|
||||
South Coast Cooperative Libraries,KIAMA,nsw,yes,4,Libero,
|
||||
Lachlan Shire Library Service,LACHLAN,nsw,?,?,Libero,
|
||||
Leeton Shire Major Dooley Library,LEETON,nsw,?,?,Libero,
|
||||
Maitland City Library,MAITLAND,nsw,no_unconfirmed,?,Libero,
|
||||
Mid North Coast Cooperative Library Service,MID NORTH COAST COOP,nsw,yes,3,Libero,
|
||||
MidCoast Libraries,MID-COAST,nsw,no,3,Libero,
|
||||
Parkes Shire Library,PARKES,nsw,no,4,Libero,
|
||||
Queanbeyan Palerang Library Service,QUEANBEYAN PALERANG REGIONAL,nsw,yes,4,Libero,
|
||||
Richmond Upper Clarence Regional Library,RICHMOND UPPER CLARENCE REGIONAL,nsw,yes,3,Libero,
|
||||
Riverina Regional Library,RIVERINA REGIONAL,nsw,yes,4,Libero,
|
||||
Shoalhaven Libraries,SHOALHAVEN,nsw,no,4,Libero,
|
||||
Tenterfield Public Library,TENTERFIELD,nsw,yes,4,Libero,
|
||||
Waverley Library,WAVERLEY,nsw,yes,3,Libero,
|
||||
Wentworth Shire Library,WENTWORTH,nsw,?,?,Libero,
|
||||
Western Riverina Libraries,WESTERN RIVERINA REGIONAL,nsw,yes,3,Libero,
|
||||
Woollahra Library and Information Service,WOOLLAHRA,nsw,adults,3,Libero,
|
||||
Yass Valley Library Service,YASS VALLEY,nsw,yes,?,Libero,
|
||||
Cairns Regional Council,CAIRNS REGIONAL,qld,no,3,Libero,
|
||||
Cassowary Coast Regional Council,CASSOWARY COAST REGIONAL,qld,no,3,Libero,
|
||||
Livingstone Shire Council,LIVINGSTONE SHIRE,qld,no,?,Libero,
|
||||
Mount Isa City Council,MOUNT ISA CITY,qld,no,4,Libero,
|
||||
Moreland City Libraries,Moreland,vic,no_unconfirmed,3,Libero,
|
||||
Snowy Monaro Regional Library,SNOWY MONARO REGIONAL,nsw,?,4,OCLC Amlib,
|
||||
East Gippsland Shire Library,East Gippsland,vic,yes,4,OCLC Amlib,
|
||||
Shellharbour City Libraries,SHELLHARBOUR,nsw,no,3,OCLC WorldCat,
|
||||
Alice Springs,ALICE SPRINGS,NT,no,?,OCLC WorldCat,
|
||||
Alyangula,ALYANGULA,NT,no,?,OCLC WorldCat,
|
||||
Barkly,BARKLY,NT,no,?,OCLC WorldCat,
|
||||
Central Desert,CENTRAL DESERT,NT,no,?,OCLC WorldCat,
|
||||
Coomalie,COOMALIE,NT,no,4,OCLC WorldCat,
|
||||
Darwin,DARWIN,NT,no,4,OCLC WorldCat,
|
||||
East Arnhem,EAST ARNHEM,NT,no,?,OCLC WorldCat,
|
||||
Katherine,KATHERINE,NT,no,?,OCLC WorldCat,
|
||||
Litchfield,LITCHFIELD,NT,no,?,OCLC WorldCat,
|
||||
Palmerston,PALMERSTON,NT,no,4,OCLC WorldCat,
|
||||
Roper Gulf,ROPER GULF,NT,no,?,OCLC WorldCat,
|
||||
Tiwi Islands,TIWI ISLANDS,NT,no,?,OCLC WorldCat,
|
||||
Victoria Daly,VICTORIA DALY,NT,no,?,OCLC WorldCat,
|
||||
West Arnhem,WEST ARNHEM,NT,no,?,OCLC WorldCat,
|
||||
West Daly,WEST DALY,NT,no,?,OCLC WorldCat,
|
||||
Isaac Regional Council,ISAAC REGIONAL,qld,no,?,OCLC WorldCat,
|
||||
Geelong Regional Library Corporation,Geelong,vic,adults,4,Sirsi Dynix Horizon,
|
||||
Hume Libraries,Hume,vic,no,3,Sirsi Dynix Horizon,
|
||||
Adelaide City Council Library Service ,ADELAIDE,sa,?,4,Sirsi Dynix Symphony,
|
||||
Adelaide Hills Library Service ,ADELAIDE HILLS,sa,no,4,Sirsi Dynix Symphony,
|
||||
Adelaide Plains Library Service ,ADELAIDE PLAINS,sa,?,?,Sirsi Dynix Symphony,
|
||||
Alexandrina Library Service ,ALEXANDRINA,sa,?,4,Sirsi Dynix Symphony,
|
||||
Barossa Library Service ,BAROSSA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Barunga West Council ,BARUNGA WEST,sa,?,?,Sirsi Dynix Symphony,
|
||||
Berri Barmera Council ,BERRI BARMERA,sa,no,4,Sirsi Dynix Symphony,
|
||||
Burnside Library Service,BURNSIDE,sa,?,?,Sirsi Dynix Symphony,
|
||||
Campbelltown Public Library Service,CAMPBELLTOWN,sa,?,4,Sirsi Dynix Symphony,
|
||||
District Council of Ceduna ,CEDUNA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Charles Sturt Library Service ,CHARLES STURT,sa,no,4,Sirsi Dynix Symphony,
|
||||
Clare and Gilbert Valleys Council ,CLARE AND GILBERT VALLEYS,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Cleve ,CLEVE,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Coober Pedy ,COOBER PEDY,sa,?,4,Sirsi Dynix Symphony,
|
||||
Coorong District Council ,COORONG,sa,?,?,Sirsi Dynix Symphony,
|
||||
Copper Coast Council ,COPPER COAST,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Elliston ,ELLISTON,sa,?,?,Sirsi Dynix Symphony,
|
||||
The Flinders Ranges Council ,FLINDERS RANGES,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Franklin Harbour ,FRANKLIN HARBOUR,sa,?,?,Sirsi Dynix Symphony,
|
||||
Gawler Public Library Service ,GAWLER,sa,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Regional Council of Goyder ,GOYDER,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Grant ,GRANT,sa,?,?,Sirsi Dynix Symphony,
|
||||
Holdfast Bay Library Service ,HOLDFAST BAY,sa,?,?,Sirsi Dynix Symphony,
|
||||
Kangaroo Island Library Service ,KANGAROO ISLAND,sa,yes,4,Sirsi Dynix Symphony,
|
||||
District Council of Karoonda East Murray ,KAROONDA EAST MURRAY,sa,?,?,Sirsi Dynix Symphony,
|
||||
District Council of Kimba ,KIMBA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Kingston District Council ,KINGSTON SA,sa,no_unconfirmed,?,Sirsi Dynix Symphony,
|
||||
Light Regional Public Library Service ,LIGHT,sa,?,4,Sirsi Dynix Symphony,
|
||||
District Council of Lower Eyre Peninsula ,LOWER EYRE PENINSULA,sa,?,4,Sirsi Dynix Symphony,
|
||||
Loxton Waikerie Library Service ,LOXTON WAIKERIE,sa,?,?,Sirsi Dynix Symphony,
|
||||
Marion Library Service ,MARION,sa,,4,Sirsi Dynix Symphony,
|
||||
Mid Murray Council ,MID MURRAY,sa,?,?,Sirsi Dynix Symphony,
|
||||
Mitcham Library Service ,MITCHAM,sa,yes,4,Sirsi Dynix Symphony,
|
||||
Mount Barker Community Library,MOUNT BARKER,sa,no,?,Sirsi Dynix Symphony,
|
||||
Mount Gambier Library Service,MOUNT GAMBIER,sa,?,?,Sirsi Dynix Symphony,
|
||||
Murray Bridge Library Service,MURRAY BRIDGE,sa,?,?,Sirsi Dynix Symphony,
|
||||
Naracoorte Lucindale Council ,NARACOORTE LUCINDALE,sa,?,4,Sirsi Dynix Symphony,
|
||||
Northern Areas Council ,NORTHERN AREAS,sa,?,4,Sirsi Dynix Symphony,
|
||||
Norwood Payneham & St Peters Library Service ,NORWOOD PAYNEHAM AND ST PETERS,sa,?,4,Sirsi Dynix Symphony,
|
||||
Onkaparinga Library Service ,ONKAPARINGA,sa,?,4,Sirsi Dynix Symphony,
|
||||
District Council of Orroroo Carrieton ,ORROROO/CARRIETON,sa,?,?,Sirsi Dynix Symphony,
|
||||
Peterborough Council,PETERBOROUGH,sa,?,4,Sirsi Dynix Symphony,
|
||||
Playford Library Service ,PLAYFORD,sa,?,?,Sirsi Dynix Symphony,
|
||||
Port Adelaide Enfield Library Service ,PORT ADELAIDE ENFIELD,sa,?,?,Sirsi Dynix Symphony,
|
||||
Port Augusta Library Service,PORT AUGUSTA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Port Lincoln Library Service,PORT LINCOLN,sa,no_unconfirmed,?,Sirsi Dynix Symphony,
|
||||
Port Pirie Regional Library Service ,PORT PIRIE,sa,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Prospect Public Library Service,PROSPECT,sa,?,?,Sirsi Dynix Symphony,
|
||||
Renmark Paringa Public Library Service,RENMARK PARINGA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Robe Public Library Service,ROBE,sa,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Roxby Downs Community Library Service,ROXBY DOWNS,sa,?,?,Sirsi Dynix Symphony,
|
||||
Salisbury Library Service ,SALISBURY,sa,yes,4,Sirsi Dynix Symphony,
|
||||
Southern Mallee District Council ,SOUTHERN MALLEE,sa,?,4,Sirsi Dynix Symphony,
|
||||
District Council of Streaky Bay ,STREAKY BAY,sa,?,?,Sirsi Dynix Symphony,
|
||||
Tatiara District Council ,TATIARA,sa,?,4,Sirsi Dynix Symphony,
|
||||
Tea Tree Gully Library Service,TEA TREE GULLY,sa,yes,4,Sirsi Dynix Symphony,
|
||||
District Council of Tumby Bay ,TUMBY BAY,sa,?,?,Sirsi Dynix Symphony,
|
||||
Unley Library Service ,UNLEY,sa,yes,4,Sirsi Dynix Symphony,
|
||||
Victor Harbor Public Library Service,VICTOR HARBOR,sa,?,4,Sirsi Dynix Symphony,
|
||||
Wakefield Regional Council ,WAKEFIELD,sa,?,?,Sirsi Dynix Symphony,
|
||||
Walkerville Public Library Service,WALKERVILLE,sa,?,4,Sirsi Dynix Symphony,
|
||||
Wattle Range Council ,WATTLE RANGE,sa,?,4,Sirsi Dynix Symphony,
|
||||
West Torrens Library Service ,WEST TORRENS,sa,no,4,Sirsi Dynix Symphony,
|
||||
Whyalla Public Library Service,WHYALLA,sa,no,?,Sirsi Dynix Symphony,
|
||||
Wudinna District Council ,WUDINNA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Yankalilla Library Service,YANKALILLA,sa,no,4,Sirsi Dynix Symphony,
|
||||
Yorke Peninsula Council ,YORKE PENINSULA,sa,?,?,Sirsi Dynix Symphony,
|
||||
Libraries Tasmania,Tasmania,tas,no,3,Sirsi Dynix Symphony,
|
||||
Buloke Library Service,Buloke,vic,no,?,Sirsi Dynix Symphony,
|
||||
Campaspe Regional Library,Campaspe,vic,adults,4,Sirsi Dynix Symphony,
|
||||
Casey Cardinia Libraries,Casey Cardinia,vic,no,4,Sirsi Dynix Symphony,
|
||||
Central Highlands Libraries,Central Highlands VIC,vic,by_lga,4,Sirsi Dynix Symphony,
|
||||
Gannawarra Library Service,Gannawarra,vic,?,4,Sirsi Dynix Symphony,
|
||||
Glenelg Libraries,Glenelg,vic,adults,3,Sirsi Dynix Symphony,
|
||||
Goulburn Valley Regional Library Corporation,Goulburn Valley,vic,no,4,Sirsi Dynix Symphony,
|
||||
Greater Dandenong Libraries,Greater Dandenong,vic,yes,3,Sirsi Dynix Symphony,
|
||||
High Country Library Network,High Country,vic,adults,4,Sirsi Dynix Symphony,
|
||||
Hindmarsh Shire Libraries,Hindmarsh,vic,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Hobsons Bay Libraries,Hobsons Bay,vic,yes,3,Sirsi Dynix Symphony,
|
||||
Indigo Shire Libraries,Indigo,vic,?,4,Sirsi Dynix Symphony,
|
||||
Kingston Information & Library Service,Kingston,vic,yes,3,Sirsi Dynix Symphony,
|
||||
Latrobe City Libraries,Latrobe,vic,no_unconfirmed,3,Sirsi Dynix Symphony,
|
||||
Melton City Libraries,Melton,vic,?,3,Sirsi Dynix Symphony,
|
||||
Mildura Rural City Council Library Service,Mildura,vic,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Mitchell Shire Library Service,Mitchell,vic,no,3,Sirsi Dynix Symphony,
|
||||
Moonee Valley Libraries,Moonee Valley,vic,yes,3,Sirsi Dynix Symphony,
|
||||
Mornington Peninsula Library Service,Mornington Peninsula,vic,adults,3,Sirsi Dynix Symphony,
|
||||
Swan Hill Regional Library Service,Swan Hill,vic,no,4,Sirsi Dynix Symphony,
|
||||
Towong Shire Libraries,Towong,vic,no,4,Sirsi Dynix Symphony,
|
||||
Wellington Shire Library,Wellington,vic,yes,3,Sirsi Dynix Symphony,
|
||||
West Gippsland Regional Library Corporation,West Gippsland,vic,no,4,Sirsi Dynix Symphony,
|
||||
Wimmera Regional Library Corporation,Wimmera,vic,no,4,Sirsi Dynix Symphony,
|
||||
Wodonga Library,Wodonga,vic,no,4,Sirsi Dynix Symphony,
|
||||
Wyndham City Library Service,Wyndham,vic,no,4,Sirsi Dynix Symphony,
|
||||
Yarra Libraries,Yarra,vic,no,3,Sirsi Dynix Symphony,
|
||||
Yarriambiack Libraries,Yarriambiack,vic,no_unconfirmed,4,Sirsi Dynix Symphony,
|
||||
Boyup Brook Shire Council,BOYUP BROOK,wa,,3,Sirsi Dynix Symphony,
|
||||
Bridgetown-Greenbushes Shire Council,BRIDGETOWN-GREENBUSHES,wa,,3,Sirsi Dynix Symphony,
|
||||
Bunbury City Council,BUNBURY,wa,,3,Sirsi Dynix Symphony,
|
||||
Busselton City Council,BUSSELTON,wa,,3,Sirsi Dynix Symphony,
|
||||
Capel Shire Council,CAPEL,wa,,3,Sirsi Dynix Symphony,
|
||||
Dardanup Shire Council,DARDANUP,wa,,3,Sirsi Dynix Symphony,
|
||||
Donnybrook-Balingup Shire Council,DONNYBROOK-BALINGUP,wa,,3,Sirsi Dynix Symphony,
|
||||
Harvey Shire Council,HARVEY,wa,,3,Sirsi Dynix Symphony,
|
||||
Manjimup Shire Council,MANJIMUP,wa,,3,Sirsi Dynix Symphony,
|
||||
Nannup Shire Council,NANNUP,wa,,3,Sirsi Dynix Symphony,
|
||||
Waroona Shire Council,WAROONA,wa,,3,Sirsi Dynix Symphony,
|
||||
Newcastle Region Library,NEWCASTLE,nsw,adults,4,Sirsi-Dynix Enterprise,
|
||||
Wingecarribee Public Library,WINGECARRIBEE,nsw,no_unconfirmed,2,Sirsi-Dynix Horizon,
|
||||
Randwick City Library Service,RANDWICK,nsw,no,3,Sirsi-Dynix Portfolio,
|
||||
Logan City Council,LOGAN CITY,qld,no,2,SirsiDynix Horizon,
|
||||
Redland City Council,REDLAND CITY,qld,no,4,SirsiDynix Horizon,
|
||||
Brisbane City Council,BRISBANE CITY,qld,no,4,SirsiDynix Symphony,
|
||||
Burdekin Shire Council,BURDEKIN SHIRE,qld,no,4,SirsiDynix Symphony,
|
||||
Rockhampton Regional Council,ROCKHAMPTON REGIONAL,qld,yes,3,SirsiDynix Symphony,
|
||||
Blue Mountains City Library,BLUE MOUNTAINS,nsw,no,3,,
|
||||
Bourke Public Library,BOURKE,nsw,?,?,,
|
||||
Broken Hill City Library,BROKEN HILL,nsw,no,?,,
|
||||
Burwood Library,BURWOOD,nsw,no_unconfirmed,3,,
|
||||
Campbelltown City Library Service,CAMBELLTOWN,nsw,?,?,,
|
||||
Camden Council Libraries,CAMDEN,nsw,yes,3,,
|
||||
City of Canada Bay Library Service,CANADA BAY,nsw,adults,3,,
|
||||
Canterbury-Bankstown Library ,CANTERBURY-BANKSTOWN,nsw,yes,3,,
|
||||
Central Coast Libraries,CENTRAL COAST,nsw,no,3,,
|
||||
Central Murray Regional Library,CENTRAL MURRAY,nsw,?,?,,
|
||||
Central Northern Regional Library,CENTRAL NORTHERN,nsw,no,3,,
|
||||
Central West Libraries,CENTRAL WEST,nsw,yes,4,,
|
||||
Cessnock City Library,CESSNOCK,nsw,no_unconfirmed,?,,
|
||||
Clarence Regional Library Service,CLARENCE REGIONAL,nsw,yes,4,,
|
||||
Cobar Shire and TAFE Library,COBAR,nsw,?,4,,
|
||||
Coffs Harbour City Library and Information Service,COFFS HARBOUR,nsw,no,4,,
|
||||
Cumberland Library,CUMBERLAND,nsw,no,3,,
|
||||
Eurobodalla Shire Library Service,EUROBODALLA,nsw,yes,?,,
|
||||
Fairfield City Library Service,FAIRFIELD,nsw,yes,6,,
|
||||
Georges River Libraries,GEORGES RIVER,nsw,yes,3,,
|
||||
Glen Innes Severn Public and TAFE Library,GLEN INNES SEVERN SHIRE,nsw,no,2,,
|
||||
City of Parramatta Libraries,PARRAMATTA,nsw,?,?,,
|
||||
City of Sydney Library,SYDNEY,nsw,yes,3,,
|
||||
Armadale City Council,ARMADALE,wa,,3,,
|
||||
Ashburton Shire Council,ASHBURTON,wa,,2,,
|
||||
Augusta-Margaret River Shire Council,AUGUSTA-MARGARET RIVER,wa,,3,,
|
||||
Bassendean Town Council,BASSENDEAN,wa,,3,,
|
||||
Bayswater City Council,BAYSWATER,wa,,3,,
|
||||
Belmont City Council,BELMONT,wa,,3,,
|
||||
Beverley Shire Council,BEVERLEY,wa,,2,,
|
||||
Boddington Shire Council,BODDINGTON,wa,,?,,
|
||||
Brookton Shire Council,BROOKTON,wa,,2,,
|
||||
Broome Shire Council,BROOME,wa,,2,,
|
||||
Bruce Rock Shire Council,BRUCE ROCK,wa,,2,,
|
||||
Cambridge Town Council,CAMBRIDGE,wa,,4,,
|
||||
Canning City Council,CANNING,wa,,3,,
|
||||
Carnamah Shire Council,CARNAMAH,wa,,2,,
|
||||
Carnarvon Shire Council,CARNARVON,wa,,3,,
|
||||
Chapman Valley Shire Council,CHAPMAN VALLEY,wa,,3,,
|
||||
Chittering Shire Council,CHITTERING,wa,,4,,
|
||||
Cockburn City Council,COCKBURN,wa,,3,,
|
||||
Collie Shire Council,COLLIE,wa,,3,,
|
||||
Coolgardie Shire Council,COOLGARDIE,wa,,2,,
|
||||
Coorow Shire Council,COOROW,wa,,3,,
|
||||
Corrigin Shire Council,CORRIGIN,wa,,2,,
|
||||
Cuballing Shire Council,CUBALLING,wa,,3,,
|
||||
Cue Shire Council,CUE,wa,,3,,
|
||||
Cunderdin Shire Council,CUNDERDIN,wa,,2,,
|
||||
Dalwallinu Shire Council,DALWALLINU,wa,,3,,
|
||||
Dandaragan Shire Council,DANDARAGAN,wa,,3,,
|
||||
Derby-West Kimberley Shire Council,DERBY-WEST KIMBERLEY,wa,,2,,
|
||||
Dowerin Shire Council,DOWERIN,wa,,2,,
|
||||
Dumbleyung Shire Council,DUMBLEYUNG,wa,,2,,
|
||||
Dundas Shire Council,DUNDAS,wa,,2,,
|
||||
East Pilbara Shire Council,EAST PILBARA,wa,,3,,
|
||||
Esperance Shire Council,ESPERANCE,wa,,3,,
|
||||
Exmouth Shire Council,EXMOUTH,wa,,3,,
|
||||
Fremantle City Council,FREMANTLE,wa,,3,,
|
||||
Gingin Shire Council,GINGIN,wa,,2,,
|
||||
Goomalling Shire Council,GOOMALLING,wa,,2,,
|
||||
Gosnells City Council,GOSNELLS,wa,,3,,
|
||||
Greater Geraldton City Council,GREATER GERALDTON,wa,,3,,
|
||||
Halls Creek Shire Council,HALLS CREEK,wa,,?,,
|
||||
Irwin Shire Council,IRWIN,wa,,3,,
|
||||
Joondalup City Council,JOONDALUP,wa,,4,,
|
||||
Kalamunda City Council,KALAMUNDA,wa,,3,,
|
||||
Kalgoorlie-Boulder City Council,KALGOORLIE-BOULDER,wa,,3,,
|
||||
Karratha City Council,KARRATHA,wa,,3,,
|
||||
Kellerberrin Shire Council,KELLERBERRIN,wa,,3,,
|
||||
Kent Shire Council,KENT,wa,,2,,
|
||||
Kondinin Shire Council,KONDININ,wa,,2,,
|
||||
Koorda Shire Council,KOORDA,wa,,2,,
|
||||
Kulin Shire Council,KULIN,wa,,2,,
|
||||
City of Kwinana,KWINANA,wa,,3,,
|
||||
Lake Grace Shire Council,LAKE GRACE,wa,,2,,
|
||||
Laverton Shire Council,LAVERTON,wa,,4,,
|
||||
Leonora Shire Council,LEONORA,wa,,2,,
|
||||
Mandurah City Council,MANDURAH,wa,,4,,
|
||||
Meekatharra Shire Council,MEEKATHARRA,wa,,6,,
|
||||
Melville City Council,MELVILLE,wa,,3,,
|
||||
Menzies Shire Council,MENZIES,wa,,2,,
|
||||
Merredin Shire Council,MERREDIN,wa,,2,,
|
||||
Mingenew Shire Council,MINGENEW,wa,,2,,
|
||||
Moora Shire Council,MOORA,wa,,2,,
|
||||
Morawa Shire Council,MORAWA,wa,,2,,
|
||||
Mount Magnet Shire Council,MOUNT MAGNET,wa,,2,,
|
||||
Mount Marshall Shire Council,MOUNT MARSHALL,wa,,3,,
|
||||
Mukinbudin Shire Council,MUKINBUDIN,wa,,2,,
|
||||
Mundaring Shire Council,MUNDARING,wa,,3,,
|
||||
Murchison Shire Council,MURCHISON,wa,,6,,
|
||||
Narembeen Shire Council,NAREMBEEN,wa,,?,,
|
||||
Narrogin Shire Council,NARROGIN,wa,,3,,
|
||||
Northam Shire Council,NORTHAM,wa,,3,,
|
||||
Northampton Shire Council,NORTHAMPTON,wa,,3,,
|
||||
Nungarin Shire Council,NUNGARIN,wa,,2,,
|
||||
Perenjori Shire Council,PERENJORI,wa,,4,,
|
||||
Perth City Council,PERTH,wa,,3,,
|
||||
Pingelly Shire Council,PINGELLY,wa,,2,,
|
||||
Port Hedland Town Council,PORT HEDLAND,wa,,3,,
|
||||
Quairading Shire Council,QUAIRADING,wa,,3,,
|
||||
Ravensthorpe Shire Council,RAVENSTHORPE,wa,,2,,
|
||||
Rockingham City Council,ROCKINGHAM,wa,,4,,
|
||||
Sandstone Shire Council,SANDSTONE,wa,,2,,
|
||||
Serpentine-Jarrahdale Shire Council,SERPENTINE-JARRAHDALE,wa,,3,,
|
||||
Shark Bay Shire Council,SHARK BAY,wa,,3,,
|
||||
South Perth City Council,SOUTH PERTH,wa,,3,,
|
||||
Stirling City Council,STIRLING,wa,,3,,
|
||||
Swan City Council,SWAN,wa,,4,,
|
||||
Tammin Shire Council,TAMMIN,wa,,3,,
|
||||
Three Springs Shire Council,THREE SPRINGS,wa,,2,,
|
||||
Toodyay Shire Council,TOODYAY,wa,,3,,
|
||||
Trayning Shire Council,TRAYNING,wa,,2,,
|
||||
Upper Gascoyne,UPPER GASCOYNE,wa,,2,,
|
||||
Victoria Park Town Council,VICTORIA PARK,wa,,3,,
|
||||
Victoria Plains Shire Council,VICTORIA PLAINS,wa,,4,,
|
||||
Vincent City Council,VINCENT,wa,,3,,
|
||||
Wagin Shire Council,WAGIN,wa,,2,,
|
||||
Wandering Shire Council,WANDERING,wa,,2,,
|
||||
Wanneroo City Council,WANNEROO,wa,,3,,
|
||||
West Arthur Shire Council,WEST ARTHUR,wa,,3,,
|
||||
Westonia Shire Council,WESTONIA,wa,,2,,
|
||||
Wickepin Shire Council,WICKEPIN,wa,,2,,
|
||||
Williams Shire Council,WILLIAMS,wa,,3,,
|
||||
Wiluna Shire Council,WILUNA,wa,,2,,
|
||||
Wongan-Ballidu Shire Council,WONGAN-BALLIDU,wa,,2,,
|
||||
Woodanilling Shire Council,WOODANILLING,wa,,4,,
|
||||
Wyalkatchem Shire Council,WYALKATCHEM,wa,,2,,
|
||||
Wyndham-East Kimberley Shire Council,WYNDHAM-EAST KIMBERLEY,wa,,2,,
|
||||
Yalgoo Shire Council,YALGOO,wa,,?,,
|
||||
Yilgarn Shire Council,YILGARN,wa,,2,,
|
||||
York Shire Council,YORK,wa,,3,,
|
|
11
website/data/mechanics_institutes.csv
Normal file
11
website/data/mechanics_institutes.csv
Normal file
|
@ -0,0 +1,11 @@
|
|||
lat,lng,town,address
|
||||
-36.995814,144.067624,Maldon Athenaeum,97 High Street
|
||||
-37.562362,143.858541,Ballaarat Mechanics Institute,117 Sturt Street
|
||||
-38.030828,145.345353,Berwick Mechanics Institute & Free Library,15 High Street
|
||||
-37.025488,145.85277,Bonnie Doon Community Centre,75 Arnot Street
|
||||
-37.80347,144.899093,Footscray Mechanics Institute Library,209 Nicholson Street
|
||||
-37.964509,144.4996,Little River Mechanics Hall and Free Library,8 Rothwell Library
|
||||
-37.849806,144.991688,Prahran Mechanics Insitute Victorian History Library,39 Edmonds Road
|
||||
-35.896013,141.995651,Rainbow Bell Room Library,Oasis Hub
|
||||
-36.405122,146.755398,Stanley Athenaeum & Public Room,2 Mount Stanley Road
|
||||
-38.664017,146.325216,Toora Mechanics Institute Library,23 Gray Street
|
|
10
website/data/nsla.csv
Normal file
10
website/data/nsla.csv
Normal file
|
@ -0,0 +1,10 @@
|
|||
lat,lng,town,address,phone
|
||||
-37.809815,144.96513,State Library of Victoria,"328 Swanston Street, Melbourne",03 8664 7000
|
||||
-35.2964664654173,149.129530279015,National Library of Australia,"Parkes Place, Canberra",02 6262 1111
|
||||
-33.8658844393665,151.213300984753,State Library of New South Wales,"Macquarie Street, Sydney",02 9273 1414
|
||||
-27.4709532627151,153.018134355766,State Library of Queensland,"Stanley Place, South Brisbane",07 3840 7666
|
||||
-34.9203274502345,138.602616669435,State Library of South Australia,"North Terrace & Kintore Ave, Adelaide",08 8207 7250
|
||||
-31.9490538016994,115.860634584705,State Library of Western Australia,"25 Francis St, Perth",08 9427 3111
|
||||
-42.8815965006531,147.325005456166,Hobart Reading Room (State Reference Library),"91 Murray Street, Hobart",03 6165 5597
|
||||
-12.4666020117882,130.842962053658,Northern Territory Library,"4 Bennett St, Parliament House, Darwin",08 8999 7177
|
||||
-35.3241714564223,149.164639259617,ACT Heritage Library,"255 Canberra Ave, Fyshwick",02 62075163
|
|
1449
website/data/public_branches.csv
Normal file
1449
website/data/public_branches.csv
Normal file
File diff suppressed because it is too large
Load diff
|
@ -36,22 +36,15 @@
|
|||
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
|
||||
<!-- TopoJSON -->
|
||||
<script src="https://unpkg.com/topojson@3"></script>
|
||||
<!-- boundaries file -->
|
||||
<script src="boundaries.topo.js" type="text/javascript"></script>
|
||||
<!-- geocsv -->
|
||||
<script src="leaflet.geocsv.js" type="text/javascript"></script>
|
||||
<!-- leaflet fill patterns -->
|
||||
<script src="leaflet.pattern.js" type="text/javascript"></script>
|
||||
<!-- library branches -->
|
||||
<script src="public_branches.js" type="text/javascript"></script>
|
||||
<script src="ikcs.js" type="text/javascript"></script>
|
||||
<script src="mechanics.js" type="text/javascript"></script>
|
||||
<script src="nsla.js" type="text/javascript"></script>
|
||||
|
||||
<section class="intro">
|
||||
<p>Made by <a href="https://www.hughrundle.net">Hugh Rundle</a> using open data. Play with the layers by using the layer control at the top right of the map.</p>
|
||||
<p>Email <strong>librarymap@hugh.run</strong> if you have any tips or suggestions.</p>
|
||||
<p>You need a <b>modern browser</b> with JavaScript turned on to use Library Map. Internet Explorer probably won't work properly.</p>
|
||||
<p>You need a <a href="https://caniuse.com/?search=fetch">modern browser</a> with JavaScript enabled to use Library Map. This site does not work in Internet Explorer.</p>
|
||||
</section>
|
||||
|
||||
<div id="mode-switch">
|
||||
|
@ -60,14 +53,10 @@
|
|||
</div>
|
||||
<!-- div to attach everything to -->
|
||||
<div id="mapid"></div>
|
||||
<!-- declares mapBoxToken constant -->
|
||||
<script src="./secrets.js" type="text/javascript"></script>
|
||||
<!-- this is the guts of it -->
|
||||
<script src="load-map.js" type="text/javascript"></script>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
var loading = document.getElementById("loading");
|
||||
loading.remove()
|
||||
}
|
||||
</script>
|
||||
<script src="./load-map.js" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -1,32 +1,49 @@
|
|||
// add tile layer from OSM
|
||||
const baseMap = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
||||
const boundaries = fetch('data/boundaries.topo.json')
|
||||
.then( response => response.json())
|
||||
|
||||
const branchesCsv = fetch('data/public_branches.csv')
|
||||
.then( response => response.text());
|
||||
|
||||
const ikcCsv = fetch('data/ikcs.csv')
|
||||
.then( response => response.text());
|
||||
|
||||
const mechanics = fetch('data/mechanics_institutes.csv')
|
||||
.then( response => response.text());
|
||||
|
||||
const nslaBranches = fetch('data/nsla.csv')
|
||||
.then( response => response.text());
|
||||
|
||||
Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches])
|
||||
.then( data => {
|
||||
// add tile layer from OSM
|
||||
const baseMap = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
||||
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
|
||||
maxZoom: 18,
|
||||
id: 'mapbox/dark-v10',
|
||||
tileSize: 512,
|
||||
zoomOffset: -1,
|
||||
accessToken: 'pk.eyJ1IjoiaHVnaHIiLCJhIjoiY2lxenRqMGQyMDJvdWZwbWd0d2JxeGswNiJ9.vfUQRJDzbJhaG_865TSkPA'
|
||||
});
|
||||
accessToken: mapBoxToken
|
||||
});
|
||||
|
||||
const baseRules = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
||||
const baseRules = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
||||
attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a><br>Incorporates Administrative Boundaries ©PSMA Australia Limited licensed by the Commonwealth of Australia under Creative Commons Attribution 4.0 International licence (CC BY 4.0).',
|
||||
maxZoom: 18,
|
||||
id: 'mapbox/light-v10',
|
||||
tileSize: 512,
|
||||
zoomOffset: -1,
|
||||
accessToken: 'pk.eyJ1IjoiaHVnaHIiLCJhIjoiY2lxenRqMGQyMDJvdWZwbWd0d2JxeGswNiJ9.vfUQRJDzbJhaG_865TSkPA'
|
||||
accessToken: mapBoxToken
|
||||
});
|
||||
|
||||
// attach map to #mapid div above and centre
|
||||
const map = L.map('mapid', {
|
||||
// attach map to #mapid div above and centre
|
||||
const map = L.map('mapid', {
|
||||
center: [-27.00, 133.000],
|
||||
zoom: 5,
|
||||
layers: [baseMap]
|
||||
});
|
||||
|
||||
// Use TopoJSON
|
||||
// -----------------------------------------------------------------
|
||||
L.TopoJSON = L.GeoJSON.extend({
|
||||
// Use TopoJSON
|
||||
// -----------------------------------------------------------------
|
||||
L.TopoJSON = L.GeoJSON.extend({
|
||||
addData: function (jsonData) {
|
||||
if (jsonData.type === 'Topology') {
|
||||
for (let key in jsonData.objects) {
|
||||
|
@ -37,14 +54,14 @@ L.TopoJSON = L.GeoJSON.extend({
|
|||
L.GeoJSON.prototype.addData.call(this, jsonData);
|
||||
}
|
||||
},
|
||||
});
|
||||
// // Copyright (c) 2013 Ryan Clark (MIT)
|
||||
});
|
||||
// // Copyright (c) 2013 Ryan Clark (MIT)
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
// library services fines overlay
|
||||
const fines = new L.TopoJSON(libraryServices, {
|
||||
style: function(feature){
|
||||
// library services fines overlay
|
||||
const fines = new L.TopoJSON(data[0], {
|
||||
style: function(feature){
|
||||
return {
|
||||
fillColor: getFinesColor(feature.properties.fines),
|
||||
weight: 3,
|
||||
|
@ -53,18 +70,17 @@ style: function(feature){
|
|||
fillOpacity: 0.4
|
||||
}
|
||||
},
|
||||
onEachFeature: function onEachFeature(feature, layer) {
|
||||
onEachFeature: function onEachFeature(feature, layer) {
|
||||
layer.on({
|
||||
mouseover: e => highlightFeature(e),
|
||||
mouseout: e => resetHighlight(e, fines),
|
||||
click: zoomToFeature
|
||||
})
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// fill patterns for loan period overlay
|
||||
|
||||
const circles = new L.PatternCircle({
|
||||
// fill patterns for loan period overlay
|
||||
const circles = new L.PatternCircle({
|
||||
color: '#000',
|
||||
weight: 1,
|
||||
radius: 2,
|
||||
|
@ -72,30 +88,30 @@ const circles = new L.PatternCircle({
|
|||
y: 4,
|
||||
fill: true,
|
||||
fillOpacity: 1
|
||||
});
|
||||
});
|
||||
|
||||
const loanTwo = new L.Pattern({
|
||||
const loanTwo = new L.Pattern({
|
||||
width: 8,
|
||||
height: 8
|
||||
})
|
||||
})
|
||||
|
||||
loanTwo.addShape(circles);
|
||||
loanTwo.addTo(map);
|
||||
loanTwo.addShape(circles);
|
||||
loanTwo.addTo(map);
|
||||
|
||||
const loanThree = new L.StripePattern({
|
||||
color: '#000'
|
||||
});
|
||||
loanThree.addTo(map);
|
||||
const loanThree = new L.StripePattern({
|
||||
color: '#000'
|
||||
});
|
||||
loanThree.addTo(map);
|
||||
|
||||
const loanFour = new L.StripePattern({
|
||||
color: '#000',
|
||||
weight: 6,
|
||||
spaceWeight: 2,
|
||||
angle: 45
|
||||
});
|
||||
loanFour.addTo(map);
|
||||
const loanFour = new L.StripePattern({
|
||||
color: '#000',
|
||||
weight: 6,
|
||||
spaceWeight: 2,
|
||||
angle: 45
|
||||
});
|
||||
loanFour.addTo(map);
|
||||
|
||||
const loanSix = new L.StripePattern({
|
||||
const loanSix = new L.StripePattern({
|
||||
color: '#000',
|
||||
weight: 2,
|
||||
spaceWeight: 6,
|
||||
|
@ -103,15 +119,15 @@ const loanSix = new L.StripePattern({
|
|||
});
|
||||
loanSix.addTo(map);
|
||||
|
||||
function getLoanFillPattern(w) {
|
||||
function getLoanFillPattern(w) {
|
||||
return w == '2' ? loanTwo :
|
||||
w == '3' ? loanThree :
|
||||
w == '4' ? loanFour :
|
||||
w == '6' ? loanSix : null
|
||||
}
|
||||
}
|
||||
|
||||
// loan period overlay
|
||||
const loanPeriod = new L.TopoJSON(libraryServices, {
|
||||
// loan period overlay
|
||||
const loanPeriod = new L.TopoJSON(data[0], {
|
||||
style: function(feature){
|
||||
return {
|
||||
weight: 3,
|
||||
|
@ -129,10 +145,10 @@ const loanPeriod = new L.TopoJSON(libraryServices, {
|
|||
click: zoomToFeature
|
||||
})
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const branches = L.layerGroup([
|
||||
L.geoCsv(branchesCsv, {
|
||||
const branches = L.layerGroup([
|
||||
L.geoCsv(data[1], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -146,7 +162,7 @@ const branches = L.layerGroup([
|
|||
return L.circle(latlng, {color: "#FF3961", radius: 800}) // this is an 800m radius around the library
|
||||
}
|
||||
}),
|
||||
L.geoCsv(branchesCsv, {
|
||||
L.geoCsv(data[1], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -160,11 +176,11 @@ const branches = L.layerGroup([
|
|||
return L.circleMarker(latlng, {color: "#FF3961", radius: 2, fill: true})
|
||||
}
|
||||
})
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
|
||||
// Indigenous Knowledge Centre locations from csv file
|
||||
const ikcs = L.layerGroup([
|
||||
L.geoCsv(ikcCsv, {
|
||||
// Indigenous Knowledge Centre locations from csv file
|
||||
const ikcs = L.layerGroup([
|
||||
L.geoCsv(data[2], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -178,7 +194,7 @@ const ikcs = L.layerGroup([
|
|||
return L.circle(latlng, {color: "#76DBA7", radius: 800})
|
||||
}
|
||||
}),
|
||||
L.geoCsv(ikcCsv, {
|
||||
L.geoCsv(data[2], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -192,11 +208,11 @@ const ikcs = L.layerGroup([
|
|||
return L.circleMarker(latlng, {color: "#76DBA7", radius: 2, fill: true})
|
||||
}
|
||||
})
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
|
||||
// mechanics institutes (Vic) & schools of arts (NSW) locations from csv file
|
||||
const mechsAndSoA = L.layerGroup([
|
||||
L.geoCsv(mechanics, {
|
||||
// mechanics institutes (Vic) & schools of arts (NSW) locations from csv file
|
||||
const mechsAndSoA = L.layerGroup([
|
||||
L.geoCsv(data[3], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -210,7 +226,7 @@ const mechsAndSoA = L.layerGroup([
|
|||
return L.circle(latlng, {color: "rgb(255,165,0)", radius: 800})
|
||||
}
|
||||
}),
|
||||
L.geoCsv(mechanics, {
|
||||
L.geoCsv(data[3], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -224,11 +240,11 @@ const mechsAndSoA = L.layerGroup([
|
|||
return L.circleMarker(latlng, {color: "rgb(255,165,0)", radius: 2, fill: true})
|
||||
}
|
||||
})
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
|
||||
// NSLA locations from csv file
|
||||
const otherLibs = L.layerGroup([
|
||||
L.geoCsv(nslaBranches, {
|
||||
// NSLA locations from csv file
|
||||
const otherLibs = L.layerGroup([
|
||||
L.geoCsv(data[4], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -242,7 +258,7 @@ const otherLibs = L.layerGroup([
|
|||
return L.circle(latlng, {color: "#75f857", radius: 800})
|
||||
}
|
||||
}),
|
||||
L.geoCsv(nslaBranches, {
|
||||
L.geoCsv(data[4], {
|
||||
firstLineTitles: true,
|
||||
fieldSeparator: ',',
|
||||
onEachFeature: function (feature, layer) {
|
||||
|
@ -256,28 +272,28 @@ const otherLibs = L.layerGroup([
|
|||
return L.circleMarker(latlng, {color: "#75f857", radius: 2, fill: true})
|
||||
}
|
||||
})
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
]).addTo(map) // add this to the initial map on load
|
||||
|
||||
// ++++++++++++++
|
||||
// control layers
|
||||
// ++++++++++++++
|
||||
const baseMaps = {
|
||||
"Libraries" : baseMap,
|
||||
// "Languages" : baseLang,
|
||||
"Rules" : baseRules,
|
||||
}
|
||||
// ++++++++++++++
|
||||
// control layers
|
||||
// ++++++++++++++
|
||||
const baseMaps = {
|
||||
"Libraries" : baseMap,
|
||||
// "Languages" : baseLang,
|
||||
"Rules" : baseRules,
|
||||
}
|
||||
|
||||
// change the overlay name depending on the mode.
|
||||
const modeButton = document.getElementById('mode-button');
|
||||
// change the overlay name depending on the mode.
|
||||
const modeButton = document.getElementById('mode-button');
|
||||
|
||||
const overlayMaps = {
|
||||
var overlayMaps = {
|
||||
"Settler Knowledge Centres" : branches,
|
||||
"Indigenous Knowledge Centres": ikcs,
|
||||
"Worker Pacification Centres" : mechsAndSoA,
|
||||
"Imperial Knowledge Centres": otherLibs
|
||||
}
|
||||
|
||||
function setGeneral() {
|
||||
function setGeneral() {
|
||||
overlayMaps = {
|
||||
"Settler Knowledge Centres" : branches,
|
||||
"Indigenous Knowledge Centres": ikcs,
|
||||
|
@ -285,9 +301,9 @@ function setGeneral() {
|
|||
"Imperial Knowledge Centres": otherLibs
|
||||
}
|
||||
modeButton.innerText = "View in White Fragility mode";
|
||||
}
|
||||
}
|
||||
|
||||
function setFragile() {
|
||||
function setFragile() {
|
||||
overlayMaps = {
|
||||
"Public Libraries" : branches,
|
||||
"Indigenous Knowledge Centres": ikcs,
|
||||
|
@ -295,16 +311,16 @@ function setFragile() {
|
|||
"National & State Libraries" : otherLibs
|
||||
};
|
||||
modeButton.innerText = "View in General mode";
|
||||
}
|
||||
}
|
||||
|
||||
if (sessionStorage.getItem('mapMode') === 'fragile') {
|
||||
if (sessionStorage.getItem('mapMode') === 'fragile') {
|
||||
setFragile()
|
||||
} else {
|
||||
} else {
|
||||
setGeneral()
|
||||
}
|
||||
}
|
||||
|
||||
// switching mode between standard and fragile
|
||||
function switchMode() {
|
||||
// switching mode between standard and fragile
|
||||
function switchMode() {
|
||||
if (sessionStorage.getItem('mapMode') === 'fragile') {
|
||||
sessionStorage.setItem('mapMode', 'general');
|
||||
setGeneral()
|
||||
|
@ -320,38 +336,38 @@ function switchMode() {
|
|||
mapControl = L.control.layers(baseMaps, overlayMaps, {"collapsed": false}).addTo(map);
|
||||
infoBoxes.branches.addTo(map)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modeButton.addEventListener('click', switchMode, false);
|
||||
modeButton.addEventListener('click', switchMode, false);
|
||||
|
||||
// add control layers
|
||||
const mapControl = L.control.layers(
|
||||
// add control layers
|
||||
const mapControl = L.control.layers(
|
||||
baseMaps,
|
||||
overlayMaps,
|
||||
{ "collapsed" : false }
|
||||
).addTo(map);
|
||||
|
||||
// scale
|
||||
L.control.scale().addTo(map);
|
||||
// scale
|
||||
L.control.scale().addTo(map);
|
||||
|
||||
// info boxes
|
||||
const infoBoxes = {
|
||||
// info boxes
|
||||
const infoBoxes = {
|
||||
branches: L.control(),
|
||||
fines: L.control(),
|
||||
loanPeriod: L.control(),
|
||||
serviceInfo: L.control({position: 'topleft'})
|
||||
}
|
||||
}
|
||||
|
||||
function getFinesColor(f) {
|
||||
function getFinesColor(f) {
|
||||
return f == 'no' ? '#4dac26' :
|
||||
f == 'yes' ? '#d01c8b' :
|
||||
f == 'adults' ? '#f1b6da' :
|
||||
f == 'by_lga' ? '#abd9e9' :
|
||||
f == 'no_unconfirmed' ? '#b8e186' : '#bbb';
|
||||
}
|
||||
}
|
||||
|
||||
// highlight feature on mouse hover
|
||||
function highlightFeature(e) {
|
||||
// highlight feature on mouse hover
|
||||
function highlightFeature(e) {
|
||||
const layer = e.target;
|
||||
layer.setStyle({
|
||||
weight: 6,
|
||||
|
@ -365,29 +381,29 @@ function highlightFeature(e) {
|
|||
}
|
||||
infoBoxes.serviceInfo.addTo(map)
|
||||
infoBoxes.serviceInfo.update(layer.feature.properties);
|
||||
}
|
||||
}
|
||||
|
||||
// clear on mouseout
|
||||
function zoomToFeature(e) {
|
||||
// clear on mouseout
|
||||
function zoomToFeature(e) {
|
||||
map.fitBounds(e.target.getBounds());
|
||||
}
|
||||
}
|
||||
|
||||
function resetHighlight(e, layer) {
|
||||
function resetHighlight(e, layer) {
|
||||
layer.resetStyle(e.target);
|
||||
infoBoxes.serviceInfo.remove()
|
||||
}
|
||||
}
|
||||
|
||||
// this is used to add general info when each layer is added
|
||||
function addLegend() {
|
||||
// this is used to add general info when each layer is added
|
||||
function addLegend() {
|
||||
this._div = L.DomUtil.create('div', 'info')
|
||||
this.update();
|
||||
return this._div;
|
||||
}
|
||||
}
|
||||
|
||||
// FINES LEGEND
|
||||
infoBoxes.fines.onAdd = addLegend;
|
||||
infoBoxes.fines.update = function (props) {
|
||||
this._div.innerHTML =
|
||||
// FINES LEGEND
|
||||
infoBoxes.fines.onAdd = addLegend;
|
||||
infoBoxes.fines.update = function (props) {
|
||||
this._div.innerHTML =
|
||||
`<p>Hover over an area for more information</p>
|
||||
<section>
|
||||
<div><div class="circle" style="background-color: #4dac26"></div>Fine free</div>
|
||||
|
@ -398,32 +414,32 @@ this._div.innerHTML =
|
|||
<div><div class="circle" style="background-color: #bbb"></div>Unknown (help me find out!)</div>
|
||||
</section>
|
||||
`
|
||||
};
|
||||
};
|
||||
|
||||
// BRANCH LOCATIONS LEGEND
|
||||
infoBoxes.branches.onAdd = addLegend;
|
||||
infoBoxes.branches.update = function (props) {
|
||||
this._div.innerHTML = `
|
||||
<h4>Library Branches</h4>
|
||||
<p>Circles represent an 800 metre radius from the library location. This is the distance generally used by urban planners to represent "conceptually within walking distance" for most people.</p>
|
||||
`};
|
||||
infoBoxes.branches.addTo(map) // add by default
|
||||
// BRANCH LOCATIONS LEGEND
|
||||
infoBoxes.branches.onAdd = addLegend;
|
||||
infoBoxes.branches.update = function (props) {
|
||||
this._div.innerHTML = `
|
||||
<h4>Library Branches</h4>
|
||||
<p>Circles represent an 800 metre radius from the library location. This is the distance generally used by urban planners to represent "conceptually within walking distance" for most people.</p>
|
||||
`};
|
||||
infoBoxes.branches.addTo(map) // add by default
|
||||
|
||||
// STANDARD LOAN PERIOD LEGEND
|
||||
infoBoxes.loanPeriod.onAdd = addLegend;
|
||||
infoBoxes.loanPeriod.update = function (props) {
|
||||
this._div.innerHTML = `
|
||||
<section>
|
||||
<div><div class="circle" style="background:
|
||||
radial-gradient(4px 4px at 6px 6px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 16px 6px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 2px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 12px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 20px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 8px 18px, #3a3a3a 50%, transparent 75%);
|
||||
background-repeat: no-repeat;
|
||||
border: 1px solid black;
|
||||
"></div>2 weeks</div>
|
||||
// STANDARD LOAN PERIOD LEGEND
|
||||
infoBoxes.loanPeriod.onAdd = addLegend;
|
||||
infoBoxes.loanPeriod.update = function (props) {
|
||||
this._div.innerHTML = `
|
||||
<section>
|
||||
<div><div class="circle" style="background:
|
||||
radial-gradient(4px 4px at 6px 6px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 16px 6px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 2px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 12px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 20px 12px, #3a3a3a 50%, transparent 75%),
|
||||
radial-gradient(4px 4px at 8px 18px, #3a3a3a 50%, transparent 75%);
|
||||
background-repeat: no-repeat;
|
||||
border: 1px solid black;
|
||||
"></div>2 weeks</div>
|
||||
<div><div class="circle" style="background: repeating-linear-gradient(
|
||||
0deg,
|
||||
#3a3a3a,
|
||||
|
@ -446,13 +462,13 @@ border: 1px solid black;
|
|||
#fff 10px
|
||||
)"></div>6 weeks</div>
|
||||
<div><div class="circle" style="background-color: #bbb"></div>Unknown (help me find out!)</div>
|
||||
</section>
|
||||
`
|
||||
};
|
||||
</section>
|
||||
`
|
||||
};
|
||||
|
||||
// FOCUSSED AREA INFOBOX
|
||||
infoBoxes.serviceInfo.onAdd = addLegend;
|
||||
infoBoxes.serviceInfo.update = function(props) {
|
||||
// FOCUSSED AREA INFOBOX
|
||||
infoBoxes.serviceInfo.onAdd = addLegend;
|
||||
infoBoxes.serviceInfo.update = function(props) {
|
||||
if (props) {
|
||||
this._div.innerHTML = `<h4>${props.name}</h4>` +
|
||||
'<section><p>' +
|
||||
|
@ -467,20 +483,20 @@ infoBoxes.serviceInfo.update = function(props) {
|
|||
!props.standard_loan_weeks || props.standard_loan_weeks == "?" ? `No loan period data` : `${props.standard_loan_weeks} week loans` +
|
||||
'</p></section>'
|
||||
)}
|
||||
}
|
||||
}
|
||||
|
||||
// remove info boxes & markers when relevant layer is removed
|
||||
map.on('overlayremove', l => {
|
||||
// remove info boxes & markers when relevant layer is removed
|
||||
map.on('overlayremove', l => {
|
||||
if (l.name == "Fines") {
|
||||
infoBoxes.fines.remove()
|
||||
}
|
||||
if (l.name == "Loan Period") {
|
||||
infoBoxes.loanPeriod.remove()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// add info boxes & markers when relevant layer is added
|
||||
map.on('overlayadd', l => {
|
||||
// add info boxes & markers when relevant layer is added
|
||||
map.on('overlayadd', l => {
|
||||
if (l.name == "Fines") {
|
||||
infoBoxes.fines.addTo(map)
|
||||
}
|
||||
|
@ -488,13 +504,13 @@ map.on('overlayadd', l => {
|
|||
infoBoxes.loanPeriod.addTo(map)
|
||||
loanPeriod.bringToBack()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// change overlays depending on base layer
|
||||
// we remove info boxes before adding them again where relevant
|
||||
// this is so we don't accidentally stack up multiple copies dependng on user
|
||||
// navigation journey
|
||||
map.on('baselayerchange', l => {
|
||||
// change overlays depending on base layer
|
||||
// we remove info boxes before adding them again where relevant
|
||||
// this is so we don't accidentally stack up multiple copies dependng on user
|
||||
// navigation journey
|
||||
map.on('baselayerchange', l => {
|
||||
for (let k in infoBoxes) {
|
||||
infoBoxes[k].remove()
|
||||
}
|
||||
|
@ -520,4 +536,10 @@ map.on('baselayerchange', l => {
|
|||
infoBoxes.branches.addTo(map);
|
||||
modeButton.setAttribute('class', 'visible');
|
||||
}
|
||||
})
|
||||
|
||||
// remove the loading message once everything is loaded
|
||||
const loadingDiv = document.getElementById("loading");
|
||||
loadingDiv.remove()
|
||||
|
||||
})
|
|
@ -11,7 +11,7 @@
|
|||
<body>
|
||||
<header>
|
||||
<section id="title">
|
||||
<a href="../"><img id="logo" src="/logo.svg"/></a>
|
||||
<a href="/"><img id="logo" src="/logo.svg"/></a>
|
||||
<h2>Sources & Attributions</h2>
|
||||
<p id="beta">Beta!</p>
|
||||
</section>
|
||||
|
|
|
@ -5,9 +5,14 @@ body {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
a:active,
|
||||
a,
|
||||
a:active {
|
||||
color: #FF3961;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #FF3961
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
|
@ -39,7 +44,6 @@ nav li {
|
|||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
@ -67,7 +71,7 @@ nav li a:hover {
|
|||
#mapid {
|
||||
height: 75vh;
|
||||
width: 90vw;
|
||||
margin: auto;
|
||||
margin: 0 auto 5em;
|
||||
}
|
||||
|
||||
.circle {
|
||||
|
|
Loading…
Reference in a new issue