-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow edits to popup container class while the popup is not on the map (
#10889) * addClassName method can be called before the popup is on map * Added tests * Updating incorrect examples * Added console.warn error messages for incorrect function use * Pin chrome to version 91 (#10887) * Pin to chrome version 91 * Pin chrome version for test-browser * Update src/ui/popup.js Co-authored-by: Ricky Reusser <rreusser@users.noreply.github.com> * Fixed asterisks for jsdoc * Removing else with early return * Updates to `flyTo` docs (#10890) * updates to flyto * no trailing spaces * Added _classList Set to Popup * Trim and split on any whitespace as Ricky suggested * Update documentation for @returns * Refactored so that changes to the container are always performed by _updateClassList * Inlining function from anchor.js to marker.js * Typo fix * Small changes from suggestions * Aadding ;s to examples Co-authored-by: Arindam Bose <arindam.bose@mapbox.com> Co-authored-by: Ricky Reusser <rreusser@users.noreply.github.com> Co-authored-by: Heather Stenson <heather.stenson@mapbox.com>
- Loading branch information
1 parent
bf436d8
commit e0d6a56
Showing
4 changed files
with
152 additions
and
80 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