f5 / unovis

Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
https://unovis.dev
Apache License 2.0
2.2k stars 43 forks source link

TopoJSON Map Fixes #425

Closed reb-dev closed 1 month ago

reb-dev commented 1 month ago

This PR addresses multiple issues with TopoJSON maps, makes some revisions to the TopoJSONMap component doc page, and adds a few new examples to the demo app.

Changes:

Name Country Code
Aruba AW
Anguilla AI
American Samoa AS
Antigua and Barbuda AG
Bermuda BM
Barbados BB
Cook Islands CK
Curaçao CW
Cayman Islands KY
Micronesia, Federated States of FM
Guernsey GG
Grenada GD
Guam GU
Heard Island and McDonald Islands HM
Isle of Man IM
Cocos Islands CC
Christmas Island CX
British Indian Ocean Territory IO
Jersey JE
Kiribati KI
Saint Kitts and Nevis KN
Macao MO
Monaco MC
Maldives MV
Marshall Islands MH
Malta MT
Northern Mariana Islands MP
Montserrat MS
Norfolk Island NF
Niue NU
Pitcairn PN
Palau PW
Saint Helena, Ascension and Tristan da Cunha SH
San Marino SM
Saint Pierre and Miquelon PM
Seychelles SC
Turks and Caicos Islands TC
Tonga TO
Saint Vincent and the Grenadines VC
Virgin Islands, British VG
Virgin Islands, U.S. VI
Wallis and Futuna WF
rokotyan commented 1 month ago

Thanks for the fixes @reb-dev!

reb-dev commented 1 month ago

I just have one issue I've noticed. (pan or zoom on this map, the map disappears)

Can you try npm run install:clean and try the local build again? I can't seem to reproduce it on my end

lee00678 commented 1 month ago

Can you try npm run install:clean and try the local build again? I can't seem to reproduce it on my end

My bad, it's working after the clean install.