---
number: 7200
title: >-
  Add example component for OpenStreetMaps addon with a minimal implementation
  of create() and panTo() methods
author: TomDakan
state: MERGED
createdAt: '2025-08-20T02:53:48Z'
updatedAt: '2025-08-20T06:14:19Z'
closedAt: '2025-08-20T06:14:19Z'
mergedAt: '2025-08-20T06:14:19Z'
head: dev
base: dev
url: 'https://github.com/neomjs/neo/pull/7200'
---
resolves #7195
I recreated my branch from neomjs/neo and I think I've got my commit history reassembled cleanly so that it can merge successfully.

These commits:
-Delete OpenLayers.mjs since I chose to rename it to OpenStreetMaps.mjs. I think Open Streetmaps should be more recognizable to people compared to OpenLayers even though the library that's being leveraged is technically named OpenLayers.
-Added an example component and wrapper component for the addon to use for testing.
-Implemented create() and panTo() methods to get the example component to a minimum level of functionality including displaying a map, zooming, and panning between Iceland and San Francisco using the dedicated buttons.

Please make sure to read the Contributing Guidelines:

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

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->

**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:**
