-
Notifications
You must be signed in to change notification settings - Fork 206
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
Map and gallery template added to tags page #821
Conversation
Code Climate has analyzed commit e8f6995 and detected 0 issues on this pull request. View more on Code Climate. |
Codecov Report
@@ Coverage Diff @@
## main #821 +/- ##
==========================================
+ Coverage 72.43% 72.59% +0.16%
==========================================
Files 35 35
Lines 1335 1343 +8
==========================================
+ Hits 967 975 +8
Misses 368 368
|
@publiclab/mapknitter-reviewers |
Oh wow, this is awesome! I was thinking ideally we might show only maps
that are tagged -- @sagarpreet-chadha, would it be possible to pass a new
RSS URL into the layer, so it'd otherwise be identical but would display
https://mapknitter.org/feeds/tag/featured or
https://mapknitter.org/feeds/tag/barataria instead of the default?
…On Tue, Jul 9, 2019 at 6:34 AM Divya Baid ***@***.***> wrote:
@publiclab/mapknitter-reviewers
<https://github.com/orgs/publiclab/teams/mapknitter-reviewers>
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#821?email_source=notifications&email_token=AAAF6JZNOP2IJTHDNMQO62LP6RSUZA5CNFSM4H7D7BV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZP3MQA#issuecomment-509589056>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J776UAQIYWLK7W7ZE3P6RSUZANCNFSM4H7D7BVQ>
.
|
I'm not getting this. @ananyaarun would you like to give some input on this? |
Hey @divyabaid16 |
@ananyaarun have a look at #821 (comment) comment. The page that displays this is Actually I'm not so aware about the layers. |
Hi @divyabaid16 |
@jywarren just to clear, were you asking me to sum up the coordinates of all the maps in LEL, find their average and then zoom in to that point in the top map? |
Ah actually all the maps that are tagged with the given tag. But that'll be
all maps if we adapt the Json endpoint to allow a tag parameter!
For the short term fix, you can just use leaflet's getBounds feature to
pass all coords in and it'll calculate a bounds to include them all. How
does that sound? Thanks!!
…On Fri, Jul 12, 2019, 4:17 AM Divya Baid ***@***.***> wrote:
@jywarren <https://github.com/jywarren> just to clear, were you asking me
to sum up the coordinates of all the maps in LEL, find their average and
then zoom in to that point in the top map?
And show that point in LEL mapknitter layer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#821?email_source=notifications&email_token=AAAF6J34GYFXSP3TBBADLLDP7A4W7A5CNFSM4H7D7BV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZZCB2Y#issuecomment-510796011>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J5RWVCUVDNJQWWNXETP7A4W7ANCNFSM4H7D7BVQ>
.
|
Hi all! How is this coming along -- can I help out? Thanks!!! |
Ya, I'm trying. Sorry, It took me a bit longer. |
no problem, and if you get stuck, ping me! Thanks, Divya!!!
…On Thu, Jul 25, 2019 at 9:50 AM Divya Baid ***@***.***> wrote:
Ya, I'm trying. Sorry, It took me a bit longer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#821?email_source=notifications&email_token=AAAF6J2WFY65DBI3TWIQQTLQBGVO5A5CNFSM4H7D7BV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ZQ4LQ#issuecomment-515051054>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J4D2WJMRJHR7TZG273QBGVO5ANCNFSM4H7D7BVQ>
.
|
I have made the changes @cesswairimu. |
<h2 class="section-title text-center"> <%= @title %></h2> | ||
<hr style="max-width: 500px;"> | ||
<br> <br> | ||
<%= render :partial => 'front_ui/maps', :locals => { :maps => @maps } %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!!!
This looks great. merging - and shall we think of how to show people how to use this feature? Like, should this page have a section that says |
Oops, closed by mistake!!! I'll merge in any case, since it already passed. Thanks! |
* Map and gallery templete added to tags page * Gallery template
Fixes #807 (<=== Add issue number here)
rake test
@publiclab/mapknitter-reviewers
for help, in a comment belowThanks!