Comments (20)
I recently switched to Nextcloud and have the urgent need to open my imported geobookmarks in Organic Maps. I tried to clone the OM sources and build the app, just to have an idea of the complexity of the implementation, but didn't succeed... I'm a little rusty at Android development.
So I developed a very basic app that allows to open the Nextcloud Maps geobookmarks in any android app supporting Geo URI (e.g. Organic Maps, Google Maps...). Don't expect bells and whistles, it's the bare minimum to get me on the road again, but I hope it can be useful to someone.
You can download from the github page and soon will be available on F-Droid.
I home the source can be useful as an example to integrate Nextcloud Geobookmarks support in any of the proposed apps.
from maps.
Maps.me would be best since they are widely used, but they have a company behind them and already offer their own proprietary favorites backup.
@jancborchardt, all: There now is a fork of Maps.me in development: Organic Maps - I reckon it could be added to the list in the first post (or replace the Maps.me list item). I would love to have synchronisation between the two, and added synchronisation request over at Organic Maps as well.
from maps.
Just for information: the current release of OsmAnd introduced the option to export and import all data. For reference have a look here: https://osmand.net/blog/osmand-3-9-released .
It states that We added the option to export and import all data including settings, resources, my places. It's a big step to the backup feature, which we will plan to add in the next release .
from maps.
I've raised an issue here, mostly copied from the OsmAnd issue and hopefully phrased as expected.
Where can I find the API documentation? Preferably in the OpenAPI format.
from maps.
There is a very actively developed clone of Maps.me called Maps (on F-Droid). Maybe this would be a good candidate for integration? They have already implemented track recording which would play nicely with the sync feature.
Features over upstream repo:
- Track Recording (record your tracks)
- Custom Bookmarks path (helps backup your bookmarks with apps like: Syncthing)
- Removed ads and binaries (peace and freedom)
- Screenlock option (prevent app stay turned on while in pocket with lockscreen enabled)
from maps.
@thomas-mc-work good call, yes! Do you have any contacts there or do you want to open an issue in their tracker linking both projects up? :)
from maps.
@thomas-mc-work Actually there is no Maps Favorites API documentation. It's pretty straightforward though. It's a REST API with 4 routes (listed in appinfo/routes.php
):
- GET https://mync.org/index.php/apps/maps/api/1.0/favorites => get a JSON list of the favorites
- POST https://mync.org/index.php/apps/maps/api/1.0/favorites => add a favorite, parameters are name (string), lat (float), lng (float), category (string), comment (string), extensions (string)
- PUT https://mync.org/index.php/apps/maps/api/1.0/favorites/ID => with a value instead of "ID", edit a favorite. Params are the same as POST ones.
- DELETE https://mync.org/index.php/apps/maps/api/1.0/favorites/ID => with a value instead of "ID", deletes a favorite
For accessing those routes, you need to be authenticated with a session or with basic http auth.
I'm completely open to make changes to this API since it's not used yet 😉.
from maps.
I wonder whether favorites fields are fixed now. There are some extra fields that I would like to have for Pure Maps or are those expected to be stored under "extensions"?
As I don't have any experience with Nextcloud sync - what would be the best way to authenticate for access? I would prefer not to store any passwords - some kind of session id? Maybe pointers towards docs on it?
from maps.
Maybe this?
https://github.com/nextcloud/Android-SingleSignOn
from maps.
@szaimen : thanks, but I am looking for something running on Linux (desktop and mobile), not Android.
from maps.
I am sorry if I am not in correct conversaion but
does maps are compatible with the marinetraffic API
https://www.marinetraffic.com/en/ais-api-services/detail/ps02/vessel-positions-of-a-static-fleet#
from maps.
@gdepountis could you open a separate issue for that? :) Thanks
from maps.
What changes would marble require to become compatible? The API looks similar to what was designed for Marble's sync in 2013 or so.
from maps.
@bugzy I had a brief look at the marble code, unfortunately I have only very basic c and c++ skills and none in QT. For me it looks like the was hardcoded in some way (.../apps/MARBLEAPP/...), so for sure the URL's needs to be adapted. But I guess than a lot of code could be reused.
from maps.
Very cool! Do you mind opening a PR in the maps repository that adds it to the readme? Would definitely improve the discoverability :)
from maps.
Very cool! Do you mind opening a PR in the maps repository that adds it to the readme? Would definitely improve the discoverability :)
Thank you @szaimen ! It's a very good idea, but I'd wait until the app is mature enough... As a user, finding the link to the app, I'd expect it to implement all the functionalities provided by Nextcloud Maps (Photos, Geobookmarks, Tracks, Contacts), at least at a basic level...
from maps.
Though having at least a geobookmark sync is already more than any other Android app is currently capable of, afaik. So I still vote for adding it to the readme :)
from maps.
Hi! I noticed that this issue has been stale for almost two years now, even though it is the one with the most thumbs up… are there any news? It would be great to have some bookmarks integration!
from maps.
Well the bookmarks app is out there. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9655
from maps.
Hey, so did anyone ever develop a app or add sync to an existing one? I would love to be able to dich google maps and have it sync to my server.
from maps.
Related Issues (20)
- [Bug]: OCC Command breaks when maps is enabled HOT 9
- [Bug]: OCP\Files\NotFoundException on file move HOT 1
- [Bug]: maps not shown under "my maps" HOT 2
- Grouping favorites according to multiple categories/tags HOT 2
- [Bug]: Wrong variable type in ContactsController.php
- [Bug]: bug error after install on 27.1.4 HOT 4
- Limit auto zoom to level 16, when clicking on photos
- [Bug]: Associate geo: links keep appearing every time
- Contact details HOT 1
- [Bug]: watercolor tiles does not display
- OverTure Maps support HOT 1
- import favorites
- [Bug]: Unable to go back in device location history
- Customization and priority of contact card display on maps via settings (may be willing to pay)
- Allow photos to be geotagged if they have no geotag at all so far HOT 5
- [Bug]: Can't add photos
- [Bug]: v29 compatibility HOT 8
- History navigation: calendar, or enter date
- Sidebarnavigation: Highlight "Custom Maps / My Maps"
- Ability to customize favourites' colors HOT 2
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 maps.