Esri / Esri/esri-leaflet-vector

Multiline text not breaking

Open
#203 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
72
Forks
54
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

When I try to use arcgis method to add a vector tile layer the arabic text doesn't break as you can see in the SS:

![image](https://github.com/Esri/esri-leaflet-vector/assets/122894004/88a969d7-d3b6-49c1-841a-894ddb67c917)

But when using esriVector the arabic text breaks.

![image](https://github.com/Esri/esri-leaflet-vector/assets/122894004/65c70179-4059-44b6-bd66-d274a08b0316)

```



Esri Leaflet Vector Basemap








body {
margin: 0;
padding: 0;
}

#map {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}





var map = L.map("map").setView([23.8859, 45.0792], 6);
const tileApiKey = "xyz";
L.esri.Vector.vectorTileLayer("xyz/Public_Basemap/VectorTileServer",{
apikey: tileApiKey,
}).addTo(map);

```

### Reproduction

if you requires tileserver url and apiKey let me know. But it is confidential.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the supplied HTML example and the L.esri.Vector.vectorTileLayer entry point, then compare its Arabic text rendering with the reported esriVector result. Obtain a reproducible tileserver URL and API key, since the report says they are confidential. Done means multiline Arabic labels break consistently when using the ArcGIS vector tile layer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.