Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(demo): Repaired broken layers, added typing, removed unused imports/variables #1549

Merged
merged 26 commits into from
Dec 27, 2023

Conversation

LAMM26
Copy link
Contributor

@LAMM26 LAMM26 commented Dec 18, 2023

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
Some sections of the "geo" demo had broken tools or layers.

What is the new behavior?
Layers have been repaired, typing has been added for claiity, tools (ie. print) have been repaired, imports/varaibles have been cleaned.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

sourceOptions: {
type: 'osm'
}
})
.subscribe((layer) => this.map.addLayer(layer));
} as LayerOptions)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On essaie autant que possible d'utiliser l'opérateur satisfies au lieu du as. Parce que ce dernier force le type et empêche Typescript de faire sa validation du type.

Copy link
Collaborator

@alecarn alecarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me, good job

@alecarn alecarn added this to the v17.0.0 milestone Dec 21, 2023
Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voir les commentaires.

Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

faire un pr pour la demo de stylesavailable svp.

@pelord pelord merged commit 5a1514c into next Dec 27, 2023
4 checks passed
@pelord pelord deleted the repair_demo branch December 27, 2023 15:39
@alecarn alecarn modified the milestones: v17.0.0, v16.2.0 Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants