You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When areaColor.image sets repeat to 'not-repeat', the size of the image cannot be controlled, resulting in misalignment of the background image and the map layer.
What does the proposed API look like?
The background image of the map supports backgroundSize: '100% 100%' configuration similar to the backgroundSize of css under the option of not-repeat
The text was updated successfully, but these errors were encountered:
actually size can be controlled with (undocumented) parameters scaleX and scaleY - Demo.
However responsive position cannot be set, like CSS background-position: center;, see #20385.
There are (undocumented) parameters x and y, but they represent non-responsive, fixed pixel positions.
What problem does this feature solve?
When areaColor.image sets repeat to 'not-repeat', the size of the image cannot be controlled, resulting in misalignment of the background image and the map layer.
What does the proposed API look like?
The background image of the map supports
backgroundSize: '100% 100%'
configuration similar to thebackgroundSize
of css under the option ofnot-repeat
The text was updated successfully, but these errors were encountered: