Code Monkey home page Code Monkey logo

web's People

Contributors

alex-osm avatar alisa911 avatar anastasiia936 avatar cepprice avatar chumva avatar dmitryalexei avatar dmpr0 avatar endolith avatar eugenezmeuk avatar eunikolsky avatar google85 avatar ivanpyrohivskyi avatar johnveness avatar mariush444 avatar mikehgentry avatar mnalis avatar nnngrach avatar paulstets avatar rugk avatar rzr-ua avatar shurasmiling avatar sm4rk0 avatar sonora avatar stfn-jcb avatar tatianarud avatar tbertels avatar tiziodcaio avatar vshcherb avatar xandrexosm avatar xmd5a2 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

Watchers

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

web's Issues

Stop zooming to extents when enabling favorites or tracks

Right now, when you turn on a favorite category or a track the map zooms out to the extents of the category or track.

Can we stop this or at least have an option to disable that behavior.

It's particularly frustrating when you're looking at a map in a particular area and you want to see if any of your favorites are in that area or view a track that passes through there. When the map zooms out to extents you lose where you were looking and have to browse the map back to that area.

Attached is an example (nope, not attached. GPX file attachments aren't allowed here). The GPX file I was going to upload is the location of all wildlife watering stations (aka Guzzlers) across the state of Arizona. If I'm viewing an area of the map and I want to see if there are any guzzlers in that area, I want to just go flip the switch for that category and see the favorites in my map view. I don't want OSMAND Web to leave the area I'm looking and show me the entire state.

Sync favourites icons across devices and web map

While trying to save some points that look like as possible boat slipway I found, that there is no direct/clear way to save such favourite point with icon that is not in standard favourites icons list. Neither in that OsmAnd+ app, no in web map. This itself is kind of flaw the should be fixed.

After a quick discussion in the Telegram channel, folks suggested a workaround that worked perfect for the app: find an existing POI with an icon of interest, add it to the favourites making desired icon appear in the favourites icon history and therefore possible to save points with such icon to favourites.
Screenshot_20240625_214436
Works like a charm!

Second step, sync favourites to cloud account and check them to appear on the web map - works as well, I can even change icons back and forth choosing the desired icons:
Screenshot_20240625_213200

Third step: find new points that look like possible boat slipway using third-party satellite imaginary and try to save them with slipway icon to favourites using web map - FAILURE.

Favourites icons are not synced from OsmAnd Android app, not even added to the web map profile even there are favourite points with such icon on web map.
Screenshot_20240625_213450

I think that favourites icons history should be synced across all account devices and web map making it possible to add favourites with previously used icons even it is not possible to choose all icons but workaround available.

Or even better solution: make it possible to enter (and search) desired icon name from all available/suitable icons for the point directly for both the app and the web map.

Thank you.

Provide thorough documentation of OsmAnd Go URL scheme

Hi guys, hoping to see the documentation updated at https://osmand.net/docs/technical/algorithms/osmand-intents/

I'm attempting to provide direct links to a number of navigation apps in our product and there has been strong interest from a few folk to have OsmAnd available in our list of apps.

Whilst geo:// links do indeed work correctly on Android, I've been attempting to provide direct links to specific apps for drivers using our app into their preferred apps on both iOS and Android utilising any additional functionality that are available.

For many apps, there is a URL scheme available that can take locations in the form of either coordinates or address searches and in several nifty cases, the intention can be provided in that URL to jump directly to the start navigation screen.

I've seen that the iOS app for osmand did once have this question asked in 2019 and a dev was kind enough to sort out a url scheme at the time to add some of this functionality here: osmandapp/OsmAnd-iOS#447
However I don't seem to be able to get the mentioned scheme to work and the code submitted in that commit no longer seems to exist.

What I have now found is this page on the website that documents extremely briefly the existence of an OsmAnd specific url with an example given of http://osmand.net/go?lat=34&lon=-106&z=11
I have tested this and it seems to work on both platforms, so that is particularly promising. However, as the example only handles lat long coordinates plus a zoom level, I've wondered if it can handle more.

The request:

Could that page be updated to specify exactly every parameter the osmand.net/go link can take?
It would be incredible to learn that it can take a search string for an address (similar to android geo://?q={address string}) and even better if it can take a little prompt to push it towards the navigation start confirmation screen.
Ideally, the solutions I'm most after would be something like:
For coordinates: http://osmand.net/go?lat=34&lon=-106&mode=navigation
For addresses: http://osmand.net/go?address=Bute%20House%2C%205%20Charlotte%20Square%2C%20Edinburgh%2C%20EH2%204DR&mode=navigation

But it's important to note this request is to see currently existing functionality of the URL documented, not for new functionality :)
Most of all just want to see a list of everything that can be provided to these go links, something along the lines of:

lat: latitude value as number,
lon: longitude value as number,
address: urlEncoded address query,
mode: 'show' or 'navigate' (defaults to 'show'),
z: zoom level as number as defined at [some doc page],
otherStuff: surprise me, I just have no idea what might actually be possible here!

Bug in poi categories on the site

Description

Starting with the "routes" category, there has been a shift between icons and category names.

Steps to reproduce

Open the list of categories on the site.

Actual result

The current state is shown in the screenshot above.

Expected result

The category name must match the icon.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version:
Android/iOS version:
Device model:
Crash-Logs: ?

Web POI Filtering issue

After unselecting "parking" in list of POI overlay layer and press apply button, parking POI still shown on the map:
image
(web app installed as aplication, browser google chrome)

Unnessaissary pop-up to 'Zoom-up closer' when searching for coordinates

It is very inconvenient, that OsmAnd web doesn't search for coordinates on zoom levels 1-6.
E.g., when you search for specific coordinates using OsmAnd web, it is proposed to "Zoom-up closer" up to 7th zoom level before the search starts. At the same time, coordinates are searched all over the globe, not just on the visible part of the map.

Steps to reproduce:

  • search for 45.3784 -80.2181 on the zooms levels 1-6
  • see a pop-up on the top of the page

Actual result:
Screenshot 2024-07-22 at 14 05 26

Expected result:

  • coordinates can be searched without need to zoom in (coordinates search should also work on zoom levels 1-6)

Document Supported File Types (for Import)

This ticket is a request to update the documentation to list all of file types that can be imported into OsmAnd.

The OsmAnd project's official documentation has a section on Import/Export. When someone does an internet search for "import osmand", this is typically the first result:

Surprisingly, the page doesn't say anything about which file types can be imported.

I know I can import .gpx files, but can I import .osm files? What about .kml files? Or .geojson files? PostGIS .sql files? SQLite .sql files? .shp ESRI Shapefiles?

Please update this page with a list of all the filetypes that can be imported into OsmAnd.

Occitan language not working on Web Version

Description

The mobile device map works very well in Occitan.
However, the online map (https://osmand.net/map) remains in French even if you select Occitan in the settings.

Would be possible to correct this. THANKS

Steps to reproduce

Refresh screen
And select Occitan again

Actual result

No effect

Expected result

Read the map with the words in Occitan, as on the application (pc or mobile)

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version:
Android/iOS version: SONOMA 14.4.1
safari


Device model: MACbook Pro M2 2022
Crash-Logs: ?

Map start

Good day

When I want to start the map I get the following error:

OK. File 'src/resources/generated/online-routing-providers.json' generated successfully (1196 bytes)
Error: ENOTDIR: not a directory, scandir 'C:\web\map\public\images\poi-icons-svg'
at readdirSync (node:fs:1509:26)
at ls (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:88:16)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:18:11
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5) {
errno: -4052,
code: 'ENOTDIR',
syscall: 'scandir',
path: 'C:\web\map\public\images\poi-icons-svg'
}
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at cat (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:99:21)
at generate (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:68:23)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:16:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5)
file:///C:/web/map/src/resources/scripts/generate-resources.mjs:79
throw new Error(Fatal error: ${file} neither found nor generated);
^

Error: Fatal error: src/resources/generated/poiicons.json neither found nor generated
at generate (file:///C:/web/map/src/resources/scripts/generate-resources.mjs:79:11)
at file:///C:/web/map/src/resources/scripts/generate-resources.mjs:16:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5)

Any solution to this?
thank you

Missing "Menu → Settings → Purchases" menu

Regarding

*<Translate android="true" ids="shared_string_menu,shared_string_settings,purchases"/>*

I'm hoping to use osmand start to sync my favorites between devices, but the directions reference a "purchases" menu that doesn't exist for me. I'm using "OsmAnd~" version 4.7.17 installed from f-droid.

I'm guessing that the feature isn't available because of which app I'm using, or where I installed it. Consider updating the docs to make that clear. Maybe that's what's meant by "You can use this special plan if you have OsmAnd Free or Maps+"

CORS error when editing favorite on web map

Hello,

While trying to edit a favorite, I click on save and receive this error:
Screenshot from 2023-02-25 15-31-29

Screenshot from 2023-02-25 15-31-37

I am trying to organise a trip and I think osmand can be really helpful but I am new using it and I payed the PRO mostly to use the web version.

Thank you.

Search web

ToDo

  • Show categories
  • Explore

Main screen, Figma

Consist of:

  • Search bar
  • Categories
  • Explore section

Search button

Screenshot 2024-07-24 at 13 55 33

  • Click should open new Search page

Categories

  • Show first 6 categories
  • Tap on any category should open Search result screen
  • Tap on Show all should open Categories screen

Categories, Figma

Categories Filter by name
  • Show full list of predefined categories
  • Tap on category should open search screen for selected category
  • Should have separate url search/categories/

Search results

  • Show list of search results

Search bar

Default (out of focus) Typing Out of focus with search phrase
  • Show Back action on the left, tap should open first Search screen
  • Show Clear action on the right, tap should clear typed text
  • Show search phrase
  • Search bar should be visible on top while scrolling

Search item

Explore

  • Shot card with 3 items
  • Title Explore
  • Add Show all button
    • Tap should open separate page with url search/explore/

distance units

Web version doesn't seem to have ability to convert from km to miles (imperial and US)

GPX file showing unwanted straight returning line in other apps

Background:

  • I prepare trips in OSMand Web
  • After finding the right route, its exported as a GPX file.
  • I save them locally for longterm archival and sometime view them in other apps (like Gnome Maps or Organic Maps).

Symptom:
When opening a GPX file (made by OSMand) in another app it shows a straight returning line.
afbeelding

I tested it in 2 other apps and it shows.
Imported in OSMand Android this line is absent though.

Questions:

  • Is this an error of the other apps by showing a return line?
  • Is there something wrong in the produced GPX files?

Provide URLs for different sections

Description

Links will allow to bookmark them or share with other users.

Main pages

  • Weatherosmand.net/map/weather
  • Accountosmand.net/map/account
  • Configure Maposmand.net/map/configure/
  • Tracksosmand.net/map/mydata/tracks
  • Favoritesosmand.net/map/mydata/favorites
  • Navigationosmand.net/map/navigate
  • Settingsosmand.net/map/settings
  • Plan a Route - osmand.net/map/plan
  • For current Explore page - osmand.net/map/search

Context menu

https://github.com/osmandapp/OsmAnd-Issues/issues/2467

  • If tap on item open new page, change URL to that page.

[feature request] add option to use cloud without play store subscription.

Ahoj,

I use ↗ the f-droid Open Source build of OsmAnd for Android and I would like to use OsmAnd cloud storage to save settings and information about downloaded/ activated maps, I am even willing to support development of OsmAnd by paying a small fee.

I use a google-free Andoid device, meaning no google services and no google account.

But it is not possible so far to have any subscription outside the proprietary google play store.

So I hereby request the possibility to subscribe to an OsmAnd cloud storage account via an OsmAnd cloud web interface.

Regards!

Hover for POI icons

  • Show POI name in hover (similar to favourites)

  • Show hover around POI icon in Search results. Similar we do for Explore items. Hover on the list should be visible on the map.

Use system language by default

Description

Currently English is set as default language for osmand.net/map.

  • Change language priority in Chrome chrome://settings/languages

ToDo

User not logged in:

  • Use System / Browser default language for UI

User logged in:

  • Use System / Browser language by default until user changed it
  • Switch to System / Browser language after log out

Settings

  • Add new item System (Device language) for Display language option.

Some favorites categories not selectable to show

Some of the categories in my favorites do not show a total of favorites or a switch to set it to be shown on the map.

image

Edit: These appear to be happening to favorites imported into the OSMAND Android app from GPX files because the extension for the files are doubled. like "favorites-Guzzlers.gpx.gpx".

GPX track from myrouteapp has straight lines view

Description

The track was created on myrouteapp.com. 06-16 Sperlinga (3).gpx.zip
I can open it on the OsmAnd app:

image

But for OsmAnd Web:

image

I understand that this track has Route points, but when I change the Profile for all track I receive the next message

image

But this track contains info about Track points (and the OsmAnd app show normal track and info about Route points on the Points menu)

Steps of reproduce

  1. Import the track to the OsmAnd Web
  2. Try to change Profile (motorcycle) and add one more point

Actual result

  1. Straight line
  2. Not create new routing for all track (there is info about Route point)

Expected result

The same result after importing as on the OsmAnd app

SVG icons in map legend in documentation are broken

At https://www.osmand.net/docs/user/map-legend/osmand/#traffic-transportation and continuing down the page icons don't seem to be displayed properly:

screenshot of broken icons

Looking at their svg's code, it seems that the group containing path for the icon image has its scale set wrong.

For many icons, if I open its svg in its own tab and change via devtools the scale on the path group from (2.000000 2.000000) to (0.500000 0.500000) - i.e. divided by two instead of multiplied by two - the icon looks fine:

screenshot of an svg icon with devtools opened and scale on the group set to (0.500000 0.500000)

For some other icons, the scale has to be set to (0.050000 0.050000):

screenshot of an svg icon with devtools opened and scale on the group set to (0.050000 0.050000)

Show parent category name for sub-categories

When searching for POI subcategories, there is no way to see parent category or main category name, so next time user can select one of the main category.

  • Show Parent / Main category on the second line

Track name is not updated in GPX export xml

For example, create a track which initially has the name of Sat Apr 20 2024, update the name to Test, the name in the GPX file remains Sat Apr 20 2024:

<metadata>
  <name>Sat Apr 20 2024</name>
</metadata>

I have a fix working locally, which I'll submit a PR with. This is my first time working with OsmAnd though so the fix may not be correct, hence why I created this issue separately.

Display GPS coords for favourites

It would be so nice if the map web interface would show coordinates for favourites.

This is what things currently look like:

image

In order to have any use for these favourites outside of the Osmand website, it's vital to know where they are on the planet. For example, this is a fave from my "OSM TODO" category, which means I want to add it to OSM. The workflow that Osmand Cloud now almost makes possible is to create the fave on my phone when I'm there, sync to Osmand Cloud, then use the web interface on my laptop to do the final OSM editing.

Unexpected behavior when toggling track

Hi, I found the following behavior unexpected and very cumbersome when working with multiple tracks.

How to reproduce:

  • Create at least one track
  • Show tracks in "Local"
  • Have at least one track toggled invisible
  • Toggle visibility on

Expected behavior:

  • Shows track in addition to any other visible tracks
  • Stays in track overview

Actual behavior:

  • Jumps to single track interface
  • Shows track, but hides all other tracks

Map Style settings can't be applied

Hi! Just found out about this project's web counterpart through weeklyOSM and I love to know this exist.

I've tried to play around with the Map Styles settings expecting the same behavior as the app but sadly it does not work. I tried several map styles and different rendering settings but none of the changes to the latter seem to be applied to the map.

Thanks and good work! 👍

Crash after login

How to reproduce

  • Go to osmand.net/map
  • Click on Account, enter your credentials
  • Click Login

Actual result

Crash.mov
  • Crash trying to close dialog with account info

Expected result

  • Ability to close the dialog

Environment
OsmAnd Version: Web, 14.06.2024

Traduction de la Documentation

Bonjour je voudrais traduire la documentation en occitan. (Légende, mode d’emploi etc. )

actuellement elle n’est disponible qu’en anglais ce que rend l’accès impossible aux occitanophones qui utilisent OsmAnd en occitan.
Je souhaiterais largement diffuser votre lettre d’information dans cette communauté linguistique. Merci

Unable to use web version with 9000 favorites points (or tracks with more than 5000 points)

Description

How to reproduce

Actual result

  • UI and map are lagging
  • Unable to Hide this favorites folder due to lagging

Expected result

  • Works without lag because:
    • Points doesn't visible on the map in this moment
    • Points list doesn't visible on the map at the momment
  • Android and iOS works without problem with this file

Environment
OsmAnd Version: Web Test, from 19 Apr 24

RSS feed for blog

From what I can tell, there is currently no RSS feed available for the blog. Is this something you would be willing to add? The advantage would be that readers of your blog could get timely updates when there are new posts without having to manually check your blog every few days.

Route is not shown after "saving to cloud" (after editing a route in Chrome (Version 126.0.6478.127))

Description

As a user I am editing points along a route for a MTB trip, but when saving to cloud (to making sure changes are saved) route is no longer shown on map.

Steps to reproduce

Create a route
Save to cloud
edit points (move to another place)
Save again to cloud
route is not shown

Actual result

Route disappears from map

Expected result

Route should not disappear from map when saving to cloud. As a user you would like to continue to make changes of the existing route.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version: Web
Android/iOS version: IOS, 4.7.6.3
Device model: 13PRO
Crash-Logs: ?

Add info about uphill / downhill to the track info

Description

The goal of this task is to add info about uphill / downhill to the track info in Navigation mode, as in Plan-a-route tool.

ToDo

  • uphill / downhill info should be added to the "More information tab", that is available when planning a trip in navigation mode.

Add OsmAnd "offline" routing provider

When troubleshooting routing problems with OsmAnd for Android, it would be useful if osmand.net/map could be used to simulate the "offline" routing algorithm that the mobile app uses, i.e. as another (non-default) provider next to OSRM and OSRM (beta).

Crash when tapping to a waypoint from the list

Steps of reproduce

  1. Create a track with waypoints
    Mon Jul 29 2024 - 2.gpx.zip

created 3 waypoints, but there are 2 waypoints on the list.

  1. click to any waypoints from this list or on the map

telegram-cloud-photo-size-2-5276436463975785172-y

  1. crash:

react-dom.production.min.js:189 TypeError: x.latlon.lat.toFixed is not a function
at hce (WptDetails.jsx:645:63)
at Sa (react-dom.production.min.js:167:137)
at As (react-dom.production.min.js:197:258)
at Sl (react-dom.production.min.js:292:88)
at bc (react-dom.production.min.js:280:389)
at vc (react-dom.production.min.js:280:320)
at fc (react-dom.production.min.js:280:180)
at ac (react-dom.production.min.js:271:88)
at rc (react-dom.production.min.js:268:429)
at w (scheduler.production.min.js:13:203)
ps @ react-dom.production.min.js:189
n.callback @ react-dom.production.min.js:189
Fr @ react-dom.production.min.js:144
xl @ react-dom.production.min.js:262
bl @ react-dom.production.min.js:260
yl @ react-dom.production.min.js:259
(anonymous) @ react-dom.production.min.js:283
wc @ react-dom.production.min.js:281
rc @ react-dom.production.min.js:270
w @ scheduler.production.min.js:13
P @ scheduler.production.min.js:14
Show 11 more frames
Show less
WptDetails.jsx:645 Uncaught TypeError: x.latlon.lat.toFixed is not a function
at hce (WptDetails.jsx:645:63)
at Sa (react-dom.production.min.js:167:137)
at As (react-dom.production.min.js:197:258)
at Sl (react-dom.production.min.js:292:88)
at bc (react-dom.production.min.js:280:389)
at vc (react-dom.production.min.js:280:320)
at fc (react-dom.production.min.js:280:180)
at ac (react-dom.production.min.js:271:88)
at rc (react-dom.production.min.js:268:429)
at w (scheduler.production.min.js:13:203)

telegram-cloud-photo-size-2-5276436463975785173-y

OsmAnd cloud backup without subscription does not work despite mentioned otherwise in #191.

I have OsmAnd~ on Android, full featured version 4.5.8 from f-droid.

As an answer of my feature request #191 it was stated that OsmAnd cloud backup should work without registration:

Basic OsmAnd Cloud, is available for free starting 4.5 release without any subscription.

But it does not. Nevertheless issue #191 was closed as completed. So I open a new issue, now as a bug report and not a feature request, here, because the behaviour is different than stated.

I registered a completely new OsmAnd cloud account from within that OsmAnd installation.

I have configured OsmAnd to backup only Settings.

When I want to sync, it fails with a popup "No valid subscription present" and the text

Expired subscription
Your OsmAnd Pro subscription is expired,
renew it to use backup. You can still restore
data from the Cloud.

Below screenshots of the message and configuration:



Regards!

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.