-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Function mapper performance check requires null check for some props
Some properties, like `control-point-distances`, do not have non-null default values to fall back on. These properties are typically override properties: The property overrides the behaviour of another one and the `null` value indicates that the behaviour override is inactive. Because most properties do have a default value, it's very subtle. The performance enhancement in #2239 assumes that all properties have a default value, missing the null check. This causes the issue. Ref : When applying a function mapper to control-point-distances, eleProp is null in applyContextStyle() #2423 Ref : Optimizations for mapped style properties #2239
- Loading branch information
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters