Comments (2)
We have recently made a huge refactoring to the rtl text plugin to split worker code and main thread code.
I think an initial POC would be to try and present a different plugin that works similarly to how rtl text plugin works.
Once this is in place we can decide how to adapt the API to support multiple plugins.
The code in the worker can be changed to support more than the shape arabic method to avoid the need keep this "legacy" name.
Generally speaking, this sounds like a good hook.
A good example of how to write such a plugin is critical for this to work. We could add it to the developer guides.
Cc: @zhangyiatmicrosoft
from maplibre-gl-js.
Interesting idea @ibesora. I would leave the RTL plugin interface in place and add a second interface for generic text transformation plugins. Both can use the same functionality internally.
from maplibre-gl-js.
Related Issues (20)
- Render to user-supplied framebuffer HOT 4
- {fontstack} server requests: one or several when multiple fonts are specified? HOT 1
- Filter for BaseHeight and Height Comparison in Fill Extrusion Layer Causes Error HOT 5
- Simple geojson fill polygon renders incorrectly when spanning multiple tiles HOT 9
- Disable map rotation example allows user to rotate camera via keyboard HOT 2
- Fog in 2D HOT 1
- TypeError: Cannot read properties of undefined (reading 'sky') HOT 17
- Polygon Fill layer incorrectly displayed showing weird clipping HOT 4
- Lagging when zooming in/out of the map (especially with free rolling mouse wheel) HOT 7
- Performance issue on large FeatureCollection GeoJSON source updates HOT 6
- Valid Polygon with Hole renders with clipping Artifacts HOT 11
- Add canvas animation layer to display: "Cannot read properties of undefined (reading 'loaded')" HOT 5
- The map still adds the hash after calling map.remove() HOT 1
- Jump at the end of a pan when both terrain and transformCameraUpdate are used HOT 4
- `upcase` expression with Greek lowercase letters with accents does not remove accents HOT 4
- `style.loadURL` prints an error when the request is aborted HOT 4
- Issue with style.json and tiles vector URL HOT 1
- How to use csp, add protocol and PMtiles HOT 3
- PR 4071 resulted ~100ms perf regression (time to first idle) HOT 5
- Street view camera HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maplibre-gl-js.