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

Created on 6 Feb 2018  ยท  11Comments  ยท  Source: publiclab/plots2

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 .

JavaScript bug help wanted

Most helpful comment

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 :sweat_smile:.Thanks

All 11 comments

@jywarren , how should i approach this issue ? Thanks ๐Ÿ˜„ !

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 :sweat_smile:.Thanks

That would be great, @Gauravano!!! :+1:

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

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

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

On it ๐Ÿ‘ !

lets also hear from @milaarauja to be sure we're on track here! thanks!!!

On Tue, Jan 15, 2019 at 2:46 PM Sagarpreet Chadha notifications@github.com
wrote:

On it ๐Ÿ‘ !

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/2254#issuecomment-454525472,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ2l0eq4muUe0NaW98SodiHl23Cysks5vDi_mgaJpZM4R7Ljw
.

Is this still open?

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 (https://github.com/publiclab/plots2/issues/5678) . Closing this ๐Ÿ˜„ !!!

awesome!!!

On Wed, May 8, 2019 at 2:34 AM Sagarpreet Chadha notifications@github.com
wrote:

Hi @jywarren https://github.com/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 https://github.com/publiclab/plots2/issues/5678) .
Closing this ๐Ÿ˜„ !!!

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/2254#issuecomment-490366146,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JZTXQNGN47TMEXIHBDPUJX6VANCNFSM4EPMXDYA
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milaaraujo picture milaaraujo  ยท  3Comments

first-timers[bot] picture first-timers[bot]  ยท  3Comments

first-timers[bot] picture first-timers[bot]  ยท  3Comments

noi5e picture noi5e  ยท  3Comments

bronwen9 picture bronwen9  ยท  3Comments