Azure-Samples / Azure-Samples/azure-maps-geolocation-control

Distribute as a NPM package?

Open
#1 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi, do you have plans to publish it as a NPM package like azure-map-controls?

Maybe something line:

```jsx
import * as Atlas from "azure-maps-control"
import * as GeolocationControlModule from "azure-maps-geolocation-control"

Atlas.use(GeolocationControlModule)
```

I think it's a better approach than putting it at HTML, you can benefit with code splitting using dynamic imports too.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing how the control is currently distributed and loaded in the repository, then compare that setup with the proposed npm import pattern; done means the project has a defined, usable npm distribution approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.