mirror of
https://github.com/shadoll/sLogos.git
synced 2026-08-28 11:33:29 +00:00
Enhance CountryMap component with zoom and recenter functionality, and add map controls for improved user interaction
This commit is contained in:
@@ -165,7 +165,11 @@
|
||||
</div>
|
||||
<div class="right-column">
|
||||
{#if logo.tags && logo.tags.some((tagObj) => (tagObj.text || tagObj) === "Country") && logo.meta && logo.meta["ISO code"]}
|
||||
<CountryMap countryCodes={[logo.meta["ISO code"]]} countryNames={[logo.meta["country"]]} />
|
||||
<CountryMap
|
||||
countryCodes={[logo.meta["ISO code"]]}
|
||||
countryNames={[logo.meta["country"]]}
|
||||
countryScale={true}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<div class="logo-details fullscreen-details">
|
||||
@@ -510,5 +514,4 @@
|
||||
.logo-details span {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user