-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add info on tile layers & fair use somewhere, allow to add own tile provider #83
Comments
There is no way to easily add a tile layer for now. It's definitely a feature coming in further versions. Yep about the tile server setup guidelines and yep about thanking the amazing public servers we use. |
Adding an option to specify the URL for the tile server, and potentially a back up tile server, similar as is currently done for the routing server, would be very helpful. I was able to go into the coding and hard code in my own tile server, but it made it impossible to update the map application. |
Could this be as easy as adding a way to incorporate nextcloud admin input into mapLayers.js? |
Could you send a patch of the changes you did? |
I did it over a year ago so I'm not sure I'm remembering correctly, but I
think I made the changes below in my src/data/map Layers.js
Original line 54 to 65:
{
id: LayerIds.OSM,
name: 'Street map',
type: LayerTypes.Base,
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
attribution: '© <a href="http://openstreetmap.org">OpenStreetMap</a>
contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/
">CC-BY-SA</a>',
options: {
id: 'Open Street Map',
noWrap: false,
detectRetina: false,
maxZoom: 19,
},
},
Changed to access the tile server I set up on the emergency data network:
{
id: LayerIds.OSM,
name: 'Street map',
type: LayerTypes.Base,
url: 'http://km6slfmap.local.mesh/{z}/{x}/{y}.png',
attribution: '© <a href="http://openstreetmap.org">OpenStreetMap</a>
contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/
">CC-BY-SA</a>',
options: {
id: 'Open Street Map',
noWrap: false,
detectRetina: false,
maxZoom: 19,
},
},
…On Sun, Mar 19, 2023, 12:47 AM Arne Hamann ***@***.***> wrote:
Adding an option to specify the URL for the tile server, and potentially a
back up tile server, similar as is currently done for the routing server,
would be very helpful.
I was able to go into the coding and hard code in my own tile server, but
it made it impossible to update the map application.
Could you send a patch of the changes you did?
It would be a good basis for a fix.
—
Reply to this email directly, view it on GitHub
<#83 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARKNSMWPMBGWZNSHS2W7J7LW422ZVANCNFSM4ISAW55A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
At first it would help to add an option or to select a different osm provider for a basemap, for example default OSM map renders for example Japanese or Chinese letters which I can't read. In constrast openstreetmap.de has German translations and at least latin transliteration. |
Is this an upgrade that can be added soon? I'm now leading the organization that supports emergency data network equipment and services for 3 cities. It would be great if we could specify a URL for the tile server. BTW, I met Daphne at the SoCal Linux Expo and the new features coming to Nextcloud are super exciting! She said the Nextcloud staff person who maintains maps is on her team. Thanks for all your work1 |
As far as I know, all the tile providers we have are kind of "fair use", that is if you have a big instance and use it a lot you should actually not use them and add your own tile provider. Right?
We should probably:
What do you think @nextcloud/maps?
The text was updated successfully, but these errors were encountered: