Skip to content
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

inline-map , [map:tag:_tagname_:_latitude_:_longitude] showing incorrect nodes . #2254

Closed
sagarpreet-chadha opened this issue Feb 6, 2018 · 11 comments
Assignees
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed help wanted requires help by anyone willing to contribute JavaScript

Comments

@sagarpreet-chadha
Copy link
Contributor

sagarpreet-chadha commented Feb 6, 2018

Please describe the problem (or idea)

Tested this here , https://publiclab.org/wiki/test-wiki-page , [map:tag:tagname:latitude:_longitude] is showing incorrect nodes .

It is because we are calling our API in /_leaflet.html.erb which gives all the nearby_nodes using _latitude_ and _longitude and does not consider tagname .

Possible Solutions :

1.) Using the same partial /_leaflet.html.erb and making a query on database and hence showing markers .
2.) Making a new partial and making an API and a model search-helper function and loading blank map and calling API and hence showing markers .

@sagarpreet-chadha sagarpreet-chadha self-assigned this Feb 6, 2018
@sagarpreet-chadha sagarpreet-chadha added JavaScript bug the issue is regarding one of our programs which faces problems when a certain task is executed help wanted requires help by anyone willing to contribute labels Feb 6, 2018
@sagarpreet-chadha
Copy link
Contributor Author

@jywarren , how should i approach this issue ? Thanks 😄 !

@grvsachdeva
Copy link
Member

Hi @sagarpreet-chadha, actually while making this API, I highlighted this issue to @jywarren as mentioned in #1934, as this API has been successful I think we should make a new API which incorporates tag.I would be happy to make API for this if you want help 😅.Thanks

@jywarren
Copy link
Member

jywarren commented Mar 1, 2018

That would be great, @Gauravano!!! 👍

@jywarren
Copy link
Member

jywarren commented Mar 1, 2018

Shall we rename this to focus on the API tagging implementation and add some code links to that? Thanks, all!

@jywarren
Copy link
Member

Hi @sagarpreet-chadha -- just wanted to know if this is completed now... as it's old. WE may have moved way past it!

@jywarren
Copy link
Member

@sagarpreet-chadha just bumping this up! Thank you!!!

@sagarpreet-chadha
Copy link
Contributor Author

On it 👍 !

@jywarren
Copy link
Member

jywarren commented Jan 15, 2019 via email

@jywarren
Copy link
Member

jywarren commented May 7, 2019

Is this still open?

@sagarpreet-chadha
Copy link
Contributor Author

Hi @jywarren ,
Yes this is solved : you can check here : https://publiclab.org/notes/sagarpreet/01-30-2019/inline-map-testing .
Okay currently inline maps are not showing on /wiki pages but it related to LEL (#5678) . Closing this 😄 !!!

@jywarren
Copy link
Member

jywarren commented May 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed help wanted requires help by anyone willing to contribute JavaScript
Projects
None yet
Development

No branches or pull requests

3 participants