Giter Site home page Giter Site logo

jgpacker / osm-smart-menu Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 12.0 3.39 MB

An OpenStreetMap webextension for Firefox and Chrome

License: GNU General Public License v3.0

JavaScript 1.63% HTML 0.69% CSS 0.98% TypeScript 78.50% Svelte 18.20%
openstreetmap osm webextension

osm-smart-menu's People

Contributors

arthrydr avatar bolli24 avatar comradekingu avatar dependabot[bot] avatar douglaz avatar eduardoaddad avatar fitojb avatar jgpacker avatar jokeyser avatar kovalevartem avatar laralem avatar le-jun avatar lectrician1 avatar mannivu avatar nathanbnm avatar santossi avatar supaplextw avatar vistaus avatar weblate avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

osm-smart-menu's Issues

No Level0 link

Since last updates, Level0 link is missing from the menu
image_19

Can't install extension on Chromium browsers

I’m trying to install the extension on two different Chromium-based browsers (Vivaldi and Brave) from the Chrome web store, but I get an error that warns me that the extension package is invalid so it won’t let me install it. I can't say what the real problem is because Chrome web store tells me that «Messages file is missing for locale. C:\Users\Manuel\AppData\Local\Temp\scoped_dir20184_773675173\CRX_INSTALL_locales\ca\messages.json»

Be sure program name appears on all pages

To the left of the word "configuration"
X0
there should appear the name of this program (OSM Smart menu).
I.e., be sure your branding appears on all pages.
In fact the words "OSM Smart menu" could link to this GitHub, solving #88.

Add Taiwan government maps

Add Taiwan government maps: e.g.,
https://maps.nlsc.gov.tw/go/120.86617/24.18169

  1. Maybe only have this appear in the menu if the current coordinates are near Taiwan
  2. Due to their odd design, don't expect this to work unless your browser has zh somewhere within the Accept-Languages header. (Ah, #23 (comment) .) else it will just go to their English home page. (But maybe this makes it too much of a bug report generator, so not worth the effort.)
  3. That site itself doesn't update the URL as one moves the map, and would take too much work to extract the current coordinates, so make this just a one way link to visit that site, and not visit other sites when browsing that site.

Overpass Turbo

Hi
I presume you're aware Overpass Turbo can accept co-ords on it's command line:
www.overpass-turbo.eu/?C=51.47795;0.0;16

But do you know if there's a way to retrieve them after the page is loaded? The site must store them somewhere. It would be useful addition, if possible.

Criteria for new links in default list

OSM Smart Menu wants to support as many websites as it can!

However, if too many links are present in the extension after installation, new users may be overloaded with too much information at once, struggling to make sense of what's useful and what's not.
Am I worrying too much? Or is this already the case...?

OSM Smart Menu already allows users to add new links according to common URL patterns, and will allow users to add new links using URL templates.
Perhaps users will also be able to import lists someday?

There are many interesting links, so some decisions may be arbitrary, but here are some possible criteria for a default links list:

  • should be usable in a mobile browser (e.g. Firefox for Android);
  • should support major competitors (Google, Bing, etc)
  • may help to introduce interesting OpenStreetMap niches to beginners (3d, indoor mapping, art, etc)
  • should support different languages or be usable to users that don't speak the website's language (can Google Translate help here?);

Some links may be available in the default list, but be disabled by default. Which criteria should I use for this?

Should OSM QA tools be available in the default links list?

Please give your thoughts.

Note: some links that exist in the default list today may be removed in the future (if it makes sense).

Add official map services from Germany (where possible)

Hi, thanks for this add-on, it looks very helpful!

I thought the German community might be happy about quick switches to and from the official map services of the German states. So I looked at the 16 "Geoportals" linked here: https://gis-netzwerk.com/gis/geoportal-deutschland
As far as I can see, only Bavaria and Lower Saxony offer a website where you can get the coordinates from the URL:

Bavaria looks like https://geoportal.bayern.de/bayernatlas/?lang=de&catalogNodes=11,122&bgLayer=atkis&E=675028.06&N=5341598.86&zoom=6
The list of variables can be much longer, depending on the active views.

Niedersachsen: https://www.geobasis.niedersachsen.de/?x=9.7437&y=52.3822&z=8

Could you add those two?

I'm not so sure if the "Web Atlas DE" is a helpul resource for mappers outside of those two states. It covers all of Germany, but only with one basic style, no aerial imagery. Also it will not update the URL automatically, but you can get a permalink like this: https://sg.geodatenzentrum.de/web_bkg_webmap/applications/webatlasde/webatlasde.html?zoom=8&lat=5404410.48005&lon=516184.66601&layers=B0T

add waze editor

instead of only waze simple map you could add waze map editor, it takes a lot of time to switch between. thanks.

Please add two more sites.

Hi @jgpacker, thanks a lot for the extension, I'm using it regurlarly.

Is it possible for you to add these two sites

osm-change-viz shows changesets similiar toh achavi and expects the changeset id:

https://resultmaps.neis-one.org/osm-change-viz?c=<changeset>

osm-change-tiles is similar to whoididit and expects zoom, lat and lon

https://resultmaps.neis-one.org/osm-change-tiles#<zoom>/<lat/<lon>

Thanks
Moritz

Main(?) page needs a title

Add a title to this page
X0
so we don't have to include a screenshot on bug reports when talking about it.

Show URL previews for where each link will take us

Move the pointer (your mouse) over each of these,
X0
Wouldn't it be nice to have "link previews" i.e., the URL of each appear in the lower left corner of the screen, or in a nearer-by mouseover?
That way we could be sure of where one would take us, instead of "crossing our fingers and hoping for the best."
Sure, one could say "just check the configuration, they are all stored there." But that is a lot of work each time.

add WaymarkedTrails

Can you add WaymarkedTrails? The url format is almost same:
https://hiking.waymarkedtrails.org/#?map=14!50.6437!8.5846

One thing im unsure about: it has several subdomains (hiking., cycling., riding., ...). To include every of them may be too much. But once at the page, one can switch the type with the header icons. Unfortunately the main page (waymarkedtrails.org) where one can choose the type beforehand currently doesn't support the map argument.

Support UTM coordinates in URL Templates

https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

For example, https://geoportal.bayern.de/bayernatlas/?E=670944.04&N=5405283.56&zoom=11 seems to be equivalent to https://www.openstreetmap.org/#map=16/48.7778/11.3248.

Users should be able to specify links like this: https://geoportal.bayern.de/bayernatlas/?E={utm_easting}&N={utm_northing}&zoom={zoom}

There are JS libraries to do this, but they may require parameters such as zone in addition to easting and northing. I need to understand this better. Any help is appreciated.

Not clear what sites to expect the app to work on

The app could even work when browsing e.g.,
https://www.google.com.tw/maps/search/24.18169,120.86617
by simply grabbing the coordinates from the current URL.

But I am not sure you want to make the app work when browsing non-OSM related sites.

Indeed reading https://chrome.google.com/webstore/detail/osm-smart-menu/icipmdhgbkejfideagkhdebiaeohfijk
one might one might even think the app can.

However the app works when browsing https://www.opentopomap.org/ but not https://openinframap.org/ , so maybe it only works on sites within the list of sites in the drop down menu. All this isn't clear from that webstore detail page.

It should also be mentioned on a help page within the app.

Always have an easy way to get to this GitHub

The only way to get to GitHub from the extension is to trigger
X1
from a non-map page.

(P.S., the box on the bottom is irrelevant here and should not appear.)

If, on the other hand, we are on a map page, then we need to make our way to chrome://extensions/?id=icipmdhgbkejfideagkhdebiaeohfijk and then tohttps://chrome.google.com/webstore/detail/osm-smart-menu/icipmdhgbkejfideagkhdebiaeohfijk and then click Support before finally getting here.

Therefore, from this screen
X0
there should also be a way to get to this GitHub.

Test for all sites

Permalink, options, working...

  • Site 1
  • Site 2
  • ...

Hint: label this issue as help wanted.

List jumbled

This list looks rather jumbled.
11693-3
Perhaps use a hierarchical nested menu...

Add OSMCha user filter

You can filter the changesets of a user on OSMCha, with https://osmcha.org/?filters={"users":[{"label":"wille","value":"wille"}]}.

missing entries

Hi, for me the following entries dont show up in the dropdown menu (they are enabled in the settinges).

  • Level0 Editor
  • OSM Deep History
  • Deep Diff
  • OSM History Viewer
  • OSMCha
  • Augmented OSM Change Viewer
  • OSM Relation Analyzer
  • OSM Route Manager
  • How did you contribute to OSM?
  • Changeset by comparison (Neis)
  • Missing Maps
  • OSM Lane Visualizer

Are the entries broken or is there simply some installed software required for these? If the latter, it would be helpful to mark this in the settings.

My system:
Add-On v0.9.1 @ Firefox 77.0.1 x64 @ current openSuse Tumbleweed

Osmose parameters not recognized

http://osmose.openstreetmap.fr/en/map/#item=7130&zoom=18&lat=48.439383&lon=-4.416006&level=1%2C2%2C3&tags=&fixable=
is not recognized but it has the 3 normal parameters:
zoom=18&lat=48.439383&lon=-4.416006
I guess you're using a regular expression instead of a library to extract parameters of the query.
BTW I don't understand why the link (found on an Osmose page) is not http://osmose.openstreetmap.fr/en/map/#item=7130?zoom=18&lat=48.439383&lon=-4.416006&level=1%2C2%2C3&tags=&fixable= (first parameter after a ? not after a &).
Should I rather create a ticket on Osmose front-end? As the URL is accepted by a browser, probably not.

Anyway, usually OSM Smart Menu is a great extension ;-).

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.