Comments (10)
URLS to be added to documentation:
- https://osmand.net/map/?pin=52.491143,7.116394#9/52.3924/6.3116 (with pin)
- https://osmand.net/map/#9/52.3924/6.3116 (without pin)
- Navigation https://osmand.net/map/?start=52.236210,5.119629&finish=52.412472,4.855957&profile=car&pin=52.491143,7.116394#9/52.3873/5.2570
from web.
Yep if you skip start it should work as well (Android was tested). We will retest
from web.
Now we aim to support https://osmand.net/map/#5/50.000/5.000 this scheme i.e. everything is doable on the site to cross link later to the app.
from web.
But indeed we need to update documentation.
from web.
That sounds good, similar to how google maps links work and allow us to provide it easily as an option with the same link regardless of whether the app itself is installed.
I don't suppose you know of anywhere the url scheme is laid out for that, even if it isn't a pretty documentation page yet :)
Also, I suppose a mailing list that might flag breaking changes to the scheme for me to subscribe to would be useful too if one exists :)
from web.
I am able to get this link to work successfully on iOS through Safari. I display a web page with an OSMAnd hyperlink and the OSMAnd iOS app displays the area around the coordinate:
https://osmand.net/go.html?lat=35.188872&lon=-114.527308
I have not tried this on Android.
My app that constructs the web page has access to the OSM node / way / relation IDs. It would be fantastic to have an URL that looked like this:
https://osmand.net/go.html?osmtype=node&id=123456
... where osmtype would be one of node, relation or way
This would enable a specific business or POI to be targeted precisely.
from web.
URLS to be added to documentation:
...
Hi @vshcherb, on the Navigation link, is there a way to specify "Current Location" instead of an explicit Start location?
from web.
Thanks for these guys. Could I ask if there is also a method to specify a query string for address lookup when we don't have coordinates to hand though? We regularly use coordinates but more often than not, the user submitted content is simply an address which we need to pass through and hope the app in question has semi-decent geo-coding.
One day we may do some geocoding ourselves before hand, but in the immediate future, we're just relying on what apps can handle the addresses we pass through :)
I suppose for your navigation link example, we'd be hoping for something like this:
Navigation https://osmand.net/map/?finishq=Bute%20House%2C%205%20Charlotte%20Square%2C%20Edinburgh%2C%20EH2%204DR&profile=car
Also, I suspect this is a silly question as I'm sure I've seen this before but have forgotten about it, but what is a pin in this situation?
from web.
Our geocoding is not perfect... and I'm afraid the url we dont have yet for search so it will be a separate issue
from web.
Reviewed 11.03.2024:
from web.
Related Issues (20)
- Display GPS coords for favourites HOT 2
- Add OsmAnd "offline" routing provider HOT 3
- It's not possible to delete a "favorite" HOT 1
- Osmand Live and broken osmbtc.org website HOT 2
- Bug in poi categories on the site HOT 4
- Use system language by default HOT 1
- SVG icons in map legend in documentation are broken
- Provide URLs for different sections HOT 8
- Occitan language not working on Web Version HOT 1
- Unable to use web version with 9000 favorites points (or tracks with more than 5000 points) HOT 2
- Unable to import GPX as Favorites
- Track name is not updated in GPX export xml HOT 1
- Map start HOT 2
- Incorrect weather data when switching weather source
- Crash after login
- Sync favourites icons across devices and web map HOT 1
- Search web HOT 5
- GPX file showing unwanted straight returning line in other apps HOT 5
- Bogous crossing straight lines near the poles on lowest zoom level when isodistance circles are activated. HOT 2
- Unnessaissary pop-up to 'Zoom-up closer' when searching for coordinates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web.