Skip to content

Commit

Permalink
new format JPEG for opentopo layers
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed May 19, 2015
1 parent 0dcc490 commit e1e9418
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions 3d/app/opentopo-bing.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
var layers = viewer.scene.imageryLayers;
layers.addImageryProvider(new Cesium.OpenStreetMapImageryProvider({
url: 'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913',
fileExtension: 'jpeg',
credit: 'OpenTopo Map bij Imergis/JW van Aalst with data from OpenStreetMap and Dutch Kadaster Top10NL'
}));

Expand Down
1 change: 1 addition & 0 deletions 3d/app/opentopo.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
baseLayerPicker: false,
imageryProvider : new Cesium.OpenStreetMapImageryProvider({
url: 'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913',
fileExtension: 'jpeg',
credit: 'OpenTopo Map bij Imergis/JW van Aalst with data from OpenStreetMap and Dutch Kadaster Top10NL'
})
// ,
Expand Down
3 changes: 1 addition & 2 deletions opentopo/app/opentopo.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
var map = L.map('map');
map.setView([52.312, 5.6], 9);
// var mapUrl = 'http://4umaps.eu/{z}/{x}/{y}.png';
// var mapUrl = 'http://ws.nlextract.nl/gwc/service/tms/1.0.0/opentopo@EPSG:900913@png/{z}/{x}/{y}.png';
var mapUrl = 'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913/{z}/{x}/{y}.png';
var mapUrl = 'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913/{z}/{x}/{y}.jpeg';

// Voeg kaart toe
L.tileLayer(mapUrl, {
Expand Down
2 changes: 1 addition & 1 deletion opentopo/app/opentopord.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
});

// var url = 'http://ws.nlextract.nl/gwc/service/tms/1.0.0/opentopo@nlGridSetPDOK@png/{z}/{x}/{y}.png';
var url = 'http://s.map5.nl/map/gast/tms/1.0.0/opentopo/EPSG28992/{z}/{x}/{y}.png';
var url = 'http://s.map5.nl/map/gast/tms/1.0.0/opentopo/EPSG28992/{z}/{x}/{y}.jpeg';
var map = new L.Map('map', {
continuousWorld: true,
crs: RD,
Expand Down
2 changes: 1 addition & 1 deletion opentopo/app/wandel.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
// Layer defs
var opentopo = L.tileLayer(
// 'http://ws.nlextract.nl/gwc/service/tms/1.0.0/opentopo@EPSG:900913@png/{z}/{x}/{y}.png',
'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913/{z}/{x}/{y}.png', {
'http://s.map5.nl/map/gast/tiles/opentopo/EPSG900913/{z}/{x}/{y}.jpeg', {
// tms: true,
maxZoom: 18,
continuousWorld: true,
Expand Down

0 comments on commit e1e9418

Please sign in to comment.