Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map fails to load on wards with a sub-ward #181

Open
timwis opened this issue Apr 28, 2018 · 5 comments
Open

Map fails to load on wards with a sub-ward #181

timwis opened this issue Apr 28, 2018 · 5 comments
Labels

Comments

@timwis
Copy link
Member

timwis commented Apr 28, 2018

It makes a request for 66A.geojson when only 66.geojson exists. Need to alter the URL to just be the ward; not the subward. Or split out the geojson files to actually reflect which divisions are in the each sub-ward.

@timwis timwis added the bug label Apr 28, 2018
@pwolanin
Copy link
Collaborator

pwolanin commented Nov 7, 2020

So a quick fix for this would be to just strip any trailing letters from the filename?

@pwolanin
Copy link
Collaborator

pwolanin commented Nov 7, 2020

Around line 92 of: src/api/index.js

@pwolanin
Copy link
Collaborator

pwolanin commented Nov 8, 2020

Maybe already fixed in #178

@pwolanin
Copy link
Collaborator

pwolanin commented Nov 8, 2020

No, I see it still fails for e.g. Ward 39 B

@pwolanin
Copy link
Collaborator

Merged in my quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants