vue-leaflet/Vue2Leaflet
View on GitHubNew Component: Add custom HTML inside the map
Open
#359 opened on Mar 21, 2019
1 comment (1 comment)1 reaction (1 reaction)0 assignees (0 assignees)JavaScript1,942 stars (1,942 stars)380 forks (380 forks)batch import
confirmedenhancementhelp wanted
Description
Related to #308
Contributor guide
- Tech stack
- vuejavascript
- Domain
- frontend
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-2 days
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- needs investigation
- Prerequisites
- Vue component basicsLeaflet APIRefer to issue #308
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- First, review issue #308 to understand the requested feature. Then, study the existing Vue2Leaflet components to see how they wrap Leaflet layers. Implement a new Vue component that uses Leaflet's DivIcon or custom pane to insert arbitrary HTML into the map. Look at similar implementations in the repository for guidance.