Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi !
I am using Dataiku on a private network with no Internet access.
I howerver have acces to internal tile serveurs.
Is there any way so i can use them instead of the preconfigured Internet Openstreet Map Server.
Thanks for your help.
Operating system used: Linux
Hi @SimonP,
(function() {
​
dkuMapBackgrounds.addCustom({
"id": "my-osm-server",
"name": "My OSM Server",
"getTileLayer": function () {
return new L.tileLayer(
'http://YOUR_SERVER_URL/PREFIX/{z}/{x}/{y}.png', {
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, ©'
})
},
"fadeColor": "#333"
})
})();
​
Hi @SimonP,
(function() {
​
dkuMapBackgrounds.addCustom({
"id": "my-osm-server",
"name": "My OSM Server",
"getTileLayer": function () {
return new L.tileLayer(
'http://YOUR_SERVER_URL/PREFIX/{z}/{x}/{y}.png', {
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, ©'
})
},
"fadeColor": "#333"
})
})();
​
Thanks a lot @JordanB !