Developing widgets for ipyleaflet
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 134
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to develop widgets for ipyleaflet using ipyreact or anywidget? For example, I am interested in using the Leaflet.TileLayer.MBTiles plugin with ipyleaflet. Below is a sample Javascript snippet. Any avdice on how to make this work with ipyleaflet would be greatly appreciated. @maartenbreddels @manzt
Sample dataset: countries.mbtiles
import { MBTiles, mbtiles } from 'leaflet-tilelayer-mbtiles-ts';
// Using the constructor...
let mbtiles = new MBTiles('./assets/mysuperfile.mbtiles', options);
// ... or use the factory
mbtiles = mbtiles('./assets/mysuperfile.mbtiles', options);
mbtiles.addTo(map);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the ipyreact and anywidget approaches referenced in the issue, then read the linked ipyleaflet issue and the Leaflet.TileLayer.MBTiles example. Done would mean a documented or demonstrated way to integrate this plugin with ipyleaflet, including whether the sample MBTiles dataset works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100