Skip to content

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Jan 7, 2026

CodePen struggles to showcase the use of the new @swissgeo/coordinates library, as it doesn't really have a NPM engine behind it (resorting to some dynamic CDN approach, rendering the code unusable as it is presented for other users).

I've rewritten the old CodePen exemple into CodeSandbox equivalent, and swap the correct exemple for the text that were above.

Test link

CodePen struggles to showcase the use of the new `@swissgeo/coordinates` library, as it doesn't really have a NPM engine behind it (resorting to some dynamic CDN approach, rendering the code unusable as it is presented for other users).

I've rewritten the old CodePen exemple into CodeSandbox equivalent, and swap the correct exemple for the text that were above.
@pakb pakb force-pushed the feat-PB-2155-better-ol-example branch from 8aa62d3 to 24afa8b Compare January 7, 2026 16:14
Copy link
Contributor

@asteiner-swisstopo asteiner-swisstopo left a comment

Choose a reason for hiding this comment

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

This is gold, thank you!

I cannot judge the details on the JS/CSS code, so I have just had two minor comments on what bothered from a reader's perspective.

@asteiner-swisstopo asteiner-swisstopo merged commit 431161e into master Jan 8, 2026
2 checks passed
@asteiner-swisstopo asteiner-swisstopo deleted the feat-PB-2155-better-ol-example branch January 8, 2026 16:34
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.

3 participants