nativescript-community / nativescript-community/ui-mapbox

Markers with dynamic SVG icons

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
38
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Hi! Thanks for maintaining this plugin.

I have a JavaScript library to dynamically generate icons, which I would like to use as marker icons in my map. These icons are generated as SVG images. As far as I can see, SVG icons (and dynamic icons in general) are not currently supported by ui-mapbox. Would it be possible to add support for SVG icons by passing their XML markup? Or can you give me any pointers on how I can achieve this myself?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by locating the marker icon entry point and reviewing how existing marker images are accepted. Determine whether XML markup can be converted into a supported marker image across the plugin's platforms, then verify that a dynamically generated SVG can be displayed as a marker.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.