docker icon indicating copy to clipboard operation
docker copied to clipboard

Support a simple web interface

Open orangejulius opened this issue 6 years ago • 5 comments

It would be really handy for users of Pelias to be able to experiment with geocoding on a map when using the docker setup. Being able to actually use an autocomplete interface is especially nice.

There is a very basic webmap using nextzen/leaflet-geocoder in the South Africa project, which we should polish a tiny bit and bring into all the projects.

Some things to do:

  • [ ] test it out a bit more
  • [ ] Put it in all projects
  • [ ] Update documentation to mention it, and perhaps even print a message like "you can now view a webmap with a searchbox at http://localhost:3000" or something similar

(Hat tip to @xamanu for the request to get this going)

orangejulius avatar Aug 03 '18 14:08 orangejulius

Hey @orangejulius! It seems like the nextzen/leaflet-geocoder demo above isn't working. But can see the gist of where the geocoder input would be, with a full-page map beneath.

Do you think it would be helpful to have a results pane, similar to how Planning Labs implemented NYC GeoSearch's?

bfreeds avatar Dec 08 '18 00:12 bfreeds

Hey @bfreeds!

In what way do you say it's not working? It's so simple I doubt it could break. It does require a functional local pelias installation though, and it might not do a good job of configuring the ports, but it shouldn't break.

I do like the Planning Labs' interface though. It might be worth looking at.

orangejulius avatar Dec 11 '18 23:12 orangejulius

Sorry, I should have been more specific / helpful. When clicking on the link above at nextzen/leaflet-geocoder. Looks to just be a broken reference to the Tangram library (Tangram is not defined).

Once I have a chance to explore this repo and get a local Pelias running, I'd love to help out here to at least get a simple web map as a demo (and potentially trying to make something like the NYC GeoSearch, if you don't think that would be overkill / would be helpful).

bfreeds avatar Dec 12 '18 20:12 bfreeds

Oh I see. It's the link at the top of the repository, which takes you to the github.io page. That page still uses all old mapzen URLs, so it's no wonder it's broken. One of us should put in a PR to update everything!

orangejulius avatar Dec 13 '18 01:12 orangejulius

If it is helpful I have created a simple pelisa frontend and used it as opportunity to learn react. So feedback is welcome :) https://github.com/Institute-FVV/peliasFrontend

jimmylevell avatar Nov 18 '20 10:11 jimmylevell