Skip to content

Commit

Permalink
identify 9 states with multipolygon bug
Browse files Browse the repository at this point in the history
  • Loading branch information
domlet committed Jul 2, 2024
1 parent c556e11 commit 8747597
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ open https://sfpl.bibliocommons.com/v2/search?query=The%20Book%20Of%20Unknown%20

Well, because I created a tileset with too small a resolution (I wanted to give users the ability to explore the map at pretty high zoom levels), I ended up racking up some Mapbox bills that I had to pay, so after 6 months I just deleted my U.S. tileset and broke the map. So here's my to-do list:

1. **Fix a bug** where popups do not work for states with `MultiPolygon` geometries.
1. **Modify and restore** the primary tileset.
2. **Add U.S. territories** to make the colonial history less obscure:
3. _When I Was Puerto Rican_ (Puerto Rico)
4. _Leaves of the Banyan Tree_ (American Samoa)
5. _Land of Love and Drowning_ (Virgin Islands)
1. **Add U.S. territories** to make the colonial history less obscure:
1. _When I Was Puerto Rican_ (Puerto Rico)
1. _Leaves of the Banyan Tree_ (American Samoa)
1. _Land of Love and Drowning_ (Virgin Islands)

### Phase 2

Expand Down
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ map.on("style.load", () => {
});

map.on("load", () => {
// fixes a bug where original map canvas size is arbitrarily small
map.resize();

// Add a new source using geoJSON
Expand Down

0 comments on commit 8747597

Please sign in to comment.