jgpacker / osm-smart-menu Goto Github PK
View Code? Open in Web Editor NEWAn OpenStreetMap webextension for Firefox and Chrome
License: GNU General Public License v3.0
An OpenStreetMap webextension for Firefox and Chrome
License: GNU General Public License v3.0
as you see on the url above the lat and lon is all that is needed :)
Label this issue as enhancement please.
Hint: discuss and share images.
I was using
and wanted to switch to OSM.ORG, but couldn't.
sometimes to edit in OSM. I like to go in Sentinel to check the road, it would be a very nice addition.
url: https://apps.sentinel-hub.com/sentinel-playground/?source=S2&lat=-16.05752623632695&lng=-47.928242683410645&zoom=14&preset=1-NATURAL-COLOR&layers=B01,B02,B03&maxcc=20&gain=1.0&gamma=1.0&time=2019-07-01%7C2020-01-13&atmFilter=&showDates=false
Please also support this map:
https://osmtools.github.io/direction
Yes it has Facebook pollution in it.
Add iD editor Beta, e.g.,
https://ideditor.netlify.app/#background=Bing&disable_features=boundaries&map=17/24.18169/120.86617
Inside the (chrome) app itself there is no link to https://github.com/jgpacker/osm-smart-menu/issues for reporting bugs.
https://resultmaps.neis-one.org/osm-change-tiles?quadkey=#// is not recognized.
It's the format you get from the RSS subscription on the site.
Some websites may not show {zoom, latitude, longitude} parameters in the URL or a permalink.
If they use Mapbox GL, is it possible to extract these parameters somehow?
Examples:
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»
To the left of the word "configuration"
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.
https://www.wikidata.org/wiki/Q106711865 for example
there is a json output here: https://www.wikidata.org/wiki/Special:EntityData/Q106711865.json to make your life easy 😉
Some websites may not show {zoom, latitude, longitude} parameters in the URL or a permalink.
If they use Leaflet, is it possible to extract these parameters somehow?
Examples:
Label this issue as enhancement please.
Hint: discuss and share images.
Add Taiwan government maps: e.g.,
https://maps.nlsc.gov.tw/go/120.86617/24.18169
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.
Add geohack, e.g.,
https://tools.wmflabs.org/geohack/geohack.php?params=24.18169_N_120.86617_E
which leads to many more links!
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:
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).
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
As requested on wiki page:
(https://wiki.openstreetmap.org/wiki/OSM_Smart_Menu#Report_bugs_or_request_features)
Please add the pleasant PeWu's OSM History Viewer page (by default), which shows the results (grafical) in vertical order.
https://wiki.openstreetmap.org/wiki/OSM_History_Viewer_(by_PeWu)
https://pewu.github.io/osm-history
Thanks a lot
Base URL: https://mapwith.ai/rapid
instead of only waze simple map you could add waze map editor, it takes a lot of time to switch between. thanks.
https://www.google.com.tw/maps/@24.1199229,120.6795117,262m/data=!3m1!1e3 is a highly zoomed in Google map.
Alas, this translates to a very zoomed out
https://www.openstreetmap.org/?mlat=24.1199229&mlon=120.6795117#map=12/24.1199/120.6795
Therefore a smarter algorithm of reverse engineering the Google zoom level is needed.
Hi,
can you add OpenTopoMap?
https://opentopomap.org/#map=4/46.92/11.47
Thanks :-)
I just checked out your addon, that might be very useful. I often use the openrouteservice and it's currently not recognized by the addon. It would be nice if that would work :)
URL: https://maps.openrouteservice.org
Map Position is in the GET parameters n1
, n2
, and n3
example URL: https://maps.openrouteservice.org/directions?n1=49.406823&n2=8.700201&n3=14&b=0&k1=en-US&k2=km
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
Move the pointer (your mouse) over each of these,
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.
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.
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.
https://www.earthpoint.us/Convert.aspx
after conversion appears:
and after removing the degree-symbol they are valid coordinates for osm.org.
Add iD pre-releases (important for bug reporters)
Yes, slightly different versions.
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.
The only way to get to GitHub from the extension is to trigger
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
there should also be a way to get to this GitHub.
@jgpacker, quais são elas?
Permalink, options, working...
Hint: label this issue as help wanted.
Some links like this one are not properly recognized
https://www.google.com/maps/d/viewer?mid=1uhm5xH8rejDu8lQKaOn-IqOCjcte2fqO&ll=47.49741464244309%2C-3.468323423046882&z=14
I see classical parameters ll
and z
, so in theory I don't see why they aren't properly extracted. In practice I guess it's a bug.
Add "OSM iD editor" to
That way we could directly get to e.g. https://www.openstreetmap.org/edit#map=17/24.17148/120.67252 in one click!
Yes, there are even preview editions of iD. But let's add the basic one at least. Thanks.
You can filter the changesets of a user on OSMCha, with https://osmcha.org/?filters={"users":[{"label":"wille","value":"wille"}]}
.
Add Google Street View, e.g.,
https://www.google.com.tw/maps/?layer=c&cbll=24.22664,120.97178
Hi, for me the following entries dont show up in the dropdown menu (they are enabled in the settinges).
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
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 ;-).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.