Can an interface be opened to allow users to transfer tileSize? #2944
Unanswered
longhaiyan-lhy
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Issues are not meant to ask questions. There's a template for a reason. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've added to the issue. Please take a look. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
name: Allows users to transfer tileSize.
about: When
new maplibregl.Map
, tileSize can be transferred, For example,new maplibregl.Map({tileSize: 256})
. In the subsequent code, the value of tileSize is obtained from the value of tileSize transferred when a user creates a map.User Story
As a map developer,
when maplibre is used to create a map, tileSize can be adapted based on the window size of different devices.
Rationale
Currently, the map developed based on maplibre may be used on PCs and mobile devices. Therefore, the tile size needs to be adapted to different ends. Users can also customize tiles when using the map.
Impact
More personalization
Beta Was this translation helpful? Give feedback.
All reactions