-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add map-feature._initialZoom, which captures the zoom of the map when the feature is first connected. Used by getter for zoom instead of map-meta or projection zoom for static features only. - refactor rename map-feature.getMaxZoom() to getZoomToZoom() - change mapFeature test data (expectations) so that the map-feature default zoom value for no-zoom-attribute static features is that of the map viewer when the feature is first connected. - change mapFeature.test expectations around zooming to the bounds of a map-feature that has no zoom attribute - now it will zoom to the zoom value or pretty close to the zoom value of the map when the feature was first connected (the bounds of a point feature is based on the size of a tile at the zoom level of its zoom value, so depending on the size of the map it might zoom to a lower zoom than that of the point when it was connected). - eliminate "fallbackZoom" method and argument for creating geometry. FeatureLayer factory method createGeometry uses map-feature.zoom now - FeatureLayer._validateRendering checks to see if the layer is on the map - geometry _checkRender() now uses map-feature.zoom instead of attribute
- Loading branch information
prushfor
authored and
prushfor
committed
Jan 18, 2024
1 parent
a0db660
commit 01499c5
Showing
9 changed files
with
247 additions
and
275 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
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
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
Oops, something went wrong.