Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Additional features for the Map component

Aperta
#3,984 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Inizia dal componente Map ed esamina i suoi punti di ingresso esistenti per il disegno delle geometrie e per le geometrie precaricate. L’issue elenca diverse funzionalità candidate—disegno limitato, validazione, selezione delle geometrie e percorsi più brevi—quindi l’ambito dovrebbe prima essere suddiviso e concordato con i maintainers. Non sono identificati file, test o criteri di completamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

squad/utforming status/for-consideration
Description

After talking with owners (Rana kommune, DIHE) of services that utilize mapswhere the user is supposed to draw and send in geometries, it seems there are a lot of potential for expanding the features of the Map component.

Some of the more wanted features are:

  • Restricting areas from being drawn on.
    • For example by the service-owner pre-filling the map with a geometry which restricts drawing over
    • This will prevent needs of forms needing to be re-submitted due to invalid drawings.
  • Related to the previous point, validation of where the user is drawing could be useful.
    • Could be both warnings and hard validations
    • A mentioned use-case is warning a user when they are drawing close to another object, (ex. marking the wanted placement of a well 50 meters within a septic tank)
  • Letting the end-user choose between pre-loaded geometries on a map and only sending in the chosen geometries.
    • A use-case for this is when one is applying for "motorferdsel" and needs to chose a drivable path on the map. The service-owner can then pre-load the map with "approved" drivable paths, and the user then selects the paths that are relevant for their driving needs.
  • An addition to the previous point that is worth investigating is if it is possible to automatically determine the shortest path between your destination and the starting point, and choose the appropriate geometry paths for you.
    • In this case the user should be able to edit the automatic suggestion.
Additional Information

No response

Lingua principale
TypeScript
Stelle
21
Fork
34
Merge medio
22h 5m
PR unite (30g)
34

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Altinn/app-frontend-react

Tutte le issue di Altinn/app-frontend-react

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.