fix(web): rtl text on map is hidden (#13342)

This commit is contained in:
Zack Pollard 2024-10-10 12:16:37 +01:00 committed by GitHub
parent ee461e5910
commit 94048dedbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 113 additions and 7 deletions

View file

@ -8,7 +8,7 @@
import { colorTheme, mapSettings } from '$lib/stores/preferences.store';
import { getAssetThumbnailUrl, handlePromiseError } from '$lib/utils';
import { getServerConfig, type MapMarkerResponseDto } from '@immich/sdk';
import mapboxRtlUrl from '@mapbox/mapbox-gl-rtl-text?url';
import mapboxRtlUrl from '@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.min.js?url';
import { mdiCog, mdiMap, mdiMapMarker } from '@mdi/js';
import type { Feature, GeoJsonProperties, Geometry, Point } from 'geojson';
import type { GeoJSONSource, LngLatLike, StyleSpecification } from 'maplibre-gl';