Skip to content

Commit

Permalink
Merge branch 'main' into Accessibility-distortable-leaflet
Browse files Browse the repository at this point in the history
  • Loading branch information
Natacha-Danbadan authored Oct 25, 2022
2 parents a1785ee + dfa27f3 commit 718f48a
Show file tree
Hide file tree
Showing 31 changed files with 8,479 additions and 3,003 deletions.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/--first-timers-issue-template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
---
name: "\U00002728 First Timers Only issue"
about: Open a First Timers Only issue for someone
title: ''
labels: fto-candidate
assignees: ''

---

### 💡Format this Issue Into a First Timers Issue

This has been marked as a good candidate for becoming a [first-timers-only issue](https://code.publiclab.org/#r=all) like these, meaning that it's **simple, self-contained**, and with some extra formatting✍️, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider **reformatting it as a first-timers-only issue**, and then ping @publiclab/reviewers to get it labeled🏷. Or, if this is not your first time, **try to solve it yourself**🧑‍💻!

---

Hi, this is a [first-timers-only issue](https://code.publiclab.org/#r=all). This means we've worked to make it more legible to folks who either **haven't contributed to our codebase before, or even folks who haven't contributed to open source before**.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from underrepresented groups in free and open-source software!
Expand Down
2 changes: 1 addition & 1 deletion .github/first-timers-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ Leave a comment below!

### Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. **If someone seem stuck, offer them some help!** Otherwise, [take a look at some other issues you can help with](https://publiclab.github.io/community-toolbox/#r=all). Thanks!
We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. **If someone seems stuck, offer them some help!** Otherwise, [take a look at some other issues you can help with](https://publiclab.github.io/community-toolbox/#r=all). Thanks!

(This issue was created by [First-Timers-Bot](https://github.com/hoodiehq/first-timers-bot).)
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ npm i leaflet-distortableimage

Compatible with Leaflet 1.0.0 and greater

### MapKnitter Lite

Check out an early prototype of the [Mapknitter Lite project](https://publiclab.github.io/Leaflet.DistortableImage/examples/archive)

## Demo

Check out this [simple demo](https://publiclab.github.io/Leaflet.DistortableImage/examples/index.html).
Expand Down Expand Up @@ -165,7 +169,7 @@ Values available to pass to `mode` are:
* **freeRotate**: Combines the rotate and scale modes into one.
* **lock**: Locks the image in place. Disables any user gestures, toolbar actions, or hotkeys that are not associated with mode. Exception: `L.ExportAction` will still be enabled.

In the below example, the image will be initialiazed with "freeRotate" handles:
In the below example, the image will be initialized with "freeRotate" handles:

```js
img = L.distortableImageOverlay('example.jpg', {
Expand Down
Loading

0 comments on commit 718f48a

Please sign in to comment.