forked from Maps4HTML/MapML.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add map-link.disabled for rel=tile|image|features|query|stylesheet
- Rename map-link._validateDisabled() to map-link.isVisible() - Add short circuit check for this.disabled in map-link.isVisible - Add map-link.disabled as criteria for whenReady() to resolve for rel= tile,image,features,query. - Add await to call to _createTemplatedLink which was missing, possibly causing lack of rendering when invoking map-link.enable(). - Do map-link.getLayerEl()._validateDisabled() after enable/disable of link - updates layer control if applicable - Refactor connectedCallback to consolidate stylesheet code into _createStylesheetLink method. Update whenReady criteria for both types of stylesheet link. - Ensure that protomaps stylesheet link selected by templated link is not prior disabled - Add tests for map-link.disabled for rel=tile,image,features,query - Update layer so that disabled query links aren't queryable - Add css, class values for test restaurants - Add waitForTimeout(500) to de-flake the tests - fixed test i headful mode - Update map-extent to ignore disabled links for bounds calculations - Update tests to include logic for initially-disabled templated link - Replace waitForTimeout(500) with { sloMo: 500 }
- Loading branch information
1 parent
9875afc
commit 178acd9
Showing
24 changed files
with
437 additions
and
71 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
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.