World-Cleanup-Day
World-Cleanup-Day copied to clipboard
How could we get map with trashpoints to country's website?
Request from Argentina: interactive trashpoints which are shown on app.worldcleanupday.com to the local website. They have the a designer for that. What would be options?
@iiasunshine @lynxlynxlynx Would you be able to help with this issue?
Well what exactly do they want? A fullblown map they can scroll and edit? Just an interactive display of the points? Would a non-interactive image do?
Interactive was their wish, something similar that you can see on: app.worldcleanupday.com
They can use an iframe to embed it into their page (trivial task). The challenge is to make their version point to Argentina by default — I don't know if any parameters can be passed via the url.
We would like to be able to show on our website www.vamosahacerlo.com.ar the points of the waste map (mapped by WCD app) so that the information that is uploaded to the map is always visible and up-to-date, as well as being available to all and thus show possible cleaning points to community. @krishaamer what kind of support can we offer here?
Also Brazil just asked for the same.
I tried adding another react route (/location/:lat/:lo), but am not familiar enough with react, so didn't manage to get the parameters passed to the right component. Iframe requires some css tricks to hide the header, but otherwise works as expected: https://lynxlynx.info/test.html
Columbia is also interested in easier ways than coding it from scratch.
DB scaling / errors need to be fixed first though or the situation will just get worse for everyone.