LearnNewsExamplesServices
Frontmatter
titleAdd example component for OpenStreetMaps addon
authorTomDakan
stateClosed
createdAtAug 19, 2025, 6:55 AM
updatedAtAug 20, 2025, 4:27 AM
closedAtAug 20, 2025, 4:27 AM
mergedAt
branchesdevdev
urlhttps://github.com/neomjs/neo/pull/7199
Closed
TomDakan
TomDakan commented on Aug 19, 2025, 6:55 AM

Resolves #7195 I added an example component for testing the OpenStreetMaps addon. It will be a functional copy of the GoogleMaps example component. This PR implements create() and panTo() in the addon. The example component loads the map, supports zooming in and out, and panning between Iceland and San Francisco.

Please make sure to read the Contributing Guidelines:

https://github.com/neomjs/neo/blob/dev/CONTRIBUTING.md

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • [x ] Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

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

  • Yes
  • [ x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ x] It's submitted to the dev branch, not the main branch
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

tobiu
tobiu commented on Aug 19, 2025, 1:44 PM

@TomDakan this PR has merge conflicts. i think you can delete the OpenLayers addon, since you switched to OpenStreetMaps for the name.