Giter Site home page Giter Site logo

humitos / osm-pois Goto Github PK

View Code? Open in Web Editor NEW
22.0 12.0 21.0 1.02 MB

Show POIs from OSM in a map using OverpassAPI

Home Page: http://upoi.org/

License: GNU General Public License v2.0

CSS 14.40% JavaScript 77.23% HTML 8.37%
osm pois openstreemap leaflet umap upoi

osm-pois's Introduction

osm-pois's People

Contributors

51114u9 avatar humitos avatar jjconti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osm-pois's Issues

Disqus comments for each place

When the user clicks on an icon, it would be great to show the comments for that place in the sidebar on a specific pane for this.

Another way to show this, because maybe it's a little bit aggressive is show a link "Nobody has commented this place yet" (or the number of comments) and when it's clicked, open the sidebar pane.

Add "Beta" in some place

Add a bar or something that makes the user knows that we are in beta...

... use another extra bar to say this branch is master

Add other layers

Marco Antonio - @51114u9

@argenpython una buena es opción es añadir las distintas capas 
disponibles (std, hot, cycle, mquest, lykr, opensurfer, osmfr, etc)

Add icons in the popups

Use specific icons for different tags. For example, the stars tag for hotel could be up to five yellow stars, or something like that.

The same for the wifi, website or email...

Do not be able to click the spinner

While the OverpassAPI is loading and the spinner is being showed, if you click the spinner (or next to it) you can't move the map.

Find a way to make it transparent and not clickable.

Optimize OverpassAPI query

I receive some comments that POIs demand too many time to appear. Maybe we can exclude some data from the response to optimize it.

"Share this link" doesn't work in some cases

If you try to "share the link" after opening "Home" sidebar pane it won't work because #home is added to the hash and the important information is removed (#{zoom}/{lat}/{lon})

Atracción turística

Use "Atracción turística" for those POIs that have "tourism" (viewpoint, for example)

Select all

Estaría bueno poder "seleccionar todos" los tipos de puntos con un solo click.

Sidebar containing all the results

When you "query" the map in http://osm.org and you hover the mouse for the resulting list you can see the item / node / way / relation highlighted. Maybe, something similar to that (in the sidebar panel) will be really good.

Update jquery.js

I realized that we are using an old version of jquery unnecessarily.

Center the map on user's location

It would be good to center the map in the user's location based on their IP or something like that, without the needing of asking for their location using HTML5.

Is this possible?

Location text

Change "Show me where I am" for something in Spanish.

Permalink

Permalink should save:

  • position
  • layer
  • selected pois
  • disqus thread

Based on #40, #38, #43

way POIs are not shown in the map

When a building matches a POI it's not shown in the map because we need to filter by "way" instead of "node". In case we filter by "way", we need to get the lat/lon of the centre of all those "nodes" because it doesn't come with the data.

Add checkbox "I'm an expert"

This could be useful to show "unparsed" data: like we are showing right now.

This feature will be useful once #9 will be implemented so user with more knowledge / experience will be able to see more data.

Add more POIs

  • amenity=bar (bar)
  • amenity=pub (pub)
  • amenity=restaurant (restaurante)
  • shop=coffee (café, por ejemplo: Café Martínez)
  • places with wifi
  • shop=greengrocer (verdulería)
  • shop=kiosk (kiosko)
  • shop=car_repair (taller de autos)
  • shop=butcher (carnicería) http://wiki.openstreetmap.org/wiki/Tag:shop%3Dbutcher
  • highway=bus_stop (parada de colectivo)
  • amenity=theatre (teatro)
  • leisure=sports_centre (club)
  • amenity=bus_station (terminal de ómnibus)
  • tourism~"yes|attraction" (atracción turística)

Generate permalink

Be able to create a 'permalink' to share with others saving:

  • the position of the map
  • selected pois

Parse tags in a better way

Now, all tags are displayed in the popup without being processed. It would be awesome if we parse all the tags to show different icons and links in the popup.

Click in many check-boxes

When the user clicks in many check-boxes there are multiple queries sent to OverpassAPI and this create a conflict because a query per click is sent.

Possible options:

  • find a way to "wait" a moment before sending all the request
  • cancel the previous request
  • make a request per poi instead of one for all of them

Search tag as developer

Add an input where a person with more knowledge in OverpassAPI can search another kind of POI. This is useful to test the API and also other personal interesting POIs that maybe are not globally.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.