-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get data using bbox and populate popup data for opensense layer #391
Get data using bbox and populate popup data for opensense layer #391
Comments
Can I try this issue? |
Thank you @neelesh17! If you have completed a couple of FTO's would you like to try out issues tagged with |
Okay, Thanks for the advice @crisner . |
Hey @crisner can I give it a try on this issue too? |
Sure, go ahead! 😄 |
Hey @crisner i think I tried with a new branch now and then merging this with your master branch. Was it better this way? I welcome any feedback in case of any mistakes 👍 |
@robin-natale, go through the step-by-step procedure in this link https://codeburst.io/a-step-by-step-guide-to-making-your-first-github-contribution-5302260a2940. This will give you an idea of how an open-source contribution should be made. Here's another link: https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github One thing to always remember, you should never alter or merge unapproved changes into a master branch. Reading the above article should clear up some confusion. Do reach out if you have any questions. 😄 You could also use the gitter chat room to ask for help. |
Many thanks @crisner I will have a look through this documentation and hopefully next time will be fine 👍😄 Did those changes went through at the end or shall I delete everything I have committed so far? |
You may have to open new PRs from clean branches. You got the changes right though. 😃 Just make sure to do the same on a new branch created from a clean master branch and make the PR from that new branch. :) |
publiclab#391 Completed (step 2 missing as the code is changed)
@crisner I think this time went all well with pulling request from separate branches, would you agree? 👍LEt me know if there are any feedback!! |
Hey @crisner can I give it a try on this issue? |
Hi, this is a first-timers-only issue. 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 groups underrepresented in free and open source software!
We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step
🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!
📝 Update the file layercode.js in the
leaflet-environmental-layers
repository.See this page for some help in taking your first steps!
Step 1:
Remove these lines:
leaflet-environmental-layers/src/layercode.js
Lines 37 to 65 in 84da2d1
leaflet-environmental-layers/src/layercode.js
Lines 374 to 382 in 84da2d1
leaflet-environmental-layers/src/layercode.js
Line 550 in 84da2d1
Step 2:
Change this:
leaflet-environmental-layers/src/layercode.js
Lines 21 to 23 in 84da2d1
to:
Step 3:
Change this:
leaflet-environmental-layers/src/layercode.js
Lines 97 to 99 in 84da2d1
to
Step 4:
Insert this:
above this line:
leaflet-environmental-layers/src/layercode.js
Line 115 in 84da2d1
Step 5:
Change this:
leaflet-environmental-layers/src/layercode.js
Line 285 in 84da2d1
to:
var content = this.generatePopup(data);
and change this:
leaflet-environmental-layers/src/layercode.js
Line 289 in 84da2d1
to:
return marker.bindPopup(content);
Step 6:
Add these lines:
right after line 332 in the
generatePopup
method:leaflet-environmental-layers/src/layercode.js
Line 332 in 84da2d1
Step 7:
Add the following:
right after line 353:
leaflet-environmental-layers/src/layercode.js
Line 353 in 84da2d1
Step 8:
Change this:
leaflet-environmental-layers/src/layercode.js
Line 419 in 84da2d1
to:
if (this.layer == 'luftdaten') {
and add this:
after line 423:
leaflet-environmental-layers/src/layercode.js
Line 423 in 84da2d1
💾 Commit your changes
🔀 Start a Pull Request. There are two ways how you can start a pull request:
If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.
You can also edit files directly in your browser and open a pull request from there.
Please keep us updated
💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We're happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don't see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!
If this happens to you, don't sweat it! Grab another open issue.
Is someone else already working on this?
🔗- We encourage contributors to link to the original issue in their pull request so all users can easily 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. Thanks!
🤔❓ Questions?
Leave a comment below!
The text was updated successfully, but these errors were encountered: