Interaktive Karte zum Monitoring des Radnetzes Berlin von Changing Citites.
Update: Upstream Issue unter https://github.com/visgl/react-map-gl/issues/2310 ---- Right now, we fetch data from the Mapbox domain which we do not want to do due to our privacy policy. ## Goal Remove this domain / remove the plugin / or have the data locally. ## Next steps - Test if we can overwrite with local file. Or ` mapboxgl.setRTLTextPlugin('https://cdn.maptiler.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.2/mapbox-gl-rtl-text.js');` because we already connect to maptiler. ([Source](https://documentation.maptiler.com/hc/en-us/articles/4410638577297-How-to-use-MapLibre)) - Create issue with ReactMapGL to inline the file. Or is this Maplibre? ## Research - What it looks like ATM <img width="1152" alt="image" src="https://github.com/tordans/berlin-bikenetwork-monitoring/assets/111561/71edf79a-49e5-4b2e-b08d-033913c164c6"> - Docs https://maplibre.org/maplibre-gl-js/docs/examples/mapbox-gl-rtl-text/ - Docs https://maplibre.org/maplibre-gl-js/docs/API/classes/default/#setrtltextplugin - https://documentation.maptiler.com/hc/en-us/articles/4410638577297-How-to-use-MapLibre - Searching for `mapbox-gl-rtl-text` in our node_modules reveals ``` maplibre-gl/dist/maplibre-gl-dev.js: 26951 else if (processStyledBidirectionalText) { 26952: // Need version of mapbox-gl-rtl-text with style support for combining RTL text 26953 // with formatting 34070 var devDependencies = { 34071: "@mapbox/mapbox-gl-rtl-text": "^0.2.3", 34072 "@mapbox/mvt-fixtures": "^3.10.0", 57238 /** 57239: * Sets the map's [RTL text plugin](https://www.mapbox.com/mapbox-gl-js/plugins/#mapbox-gl-rtl-text). 57240 * Necessary for supporting the Arabic and Hebrew languages, which are written right-to-left. 57247 * ```ts 57248: * maplibregl.setRTLTextPlugin('https://unpkg.com/@mapbox/[email protected]/mapbox-gl-rtl-text.js'); 57249 * ``` 57250: * @see [Add support for right-to-left scripts](https://maplibre.org/maplibre-gl-js/docs/examples/mapbox-gl-rtl-text/) 57251 */ ``` and ``` react-map-gl/dist/exports-maplibre.cjs: 870 const { 871: RTLTextPlugin = "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js" 872 } = props; ``` and ``` react-map-gl/src/utils/set-globals.ts: 38 const { 39: RTLTextPlugin = 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js' 40 } = props; ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by tordans and has received 1 comments.