Skip to content

Commit

Permalink
switch default mvt basemap to here vectortiles
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Nov 17, 2023
1 parent 071ff56 commit 1428bac
Show file tree
Hide file tree
Showing 59 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion packages/playground/examples/display/add_remove_layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var layers = [
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
];
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/animate_road.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let myLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/behavior_set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var layers = [
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
}),
new TileLayer({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
}),
myLayer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
const spaceLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/custom_layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Map} from '@here/xyz-maps-display';
const baseMapLayer = new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
},
style: {
backgroundColor: '#ECE0CA',
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/hello_world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const display = new Map(document.getElementById('map'), {
// the maximum zoom level the layer is displayed
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
const lineLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/mapview_listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
]
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
]
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/pitch_rotate_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Map} from '@here/xyz-maps-display';
const baseMapLayer = new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
},
style: {
backgroundColor: '#ECE0CA',
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/pointer_listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var layers = [
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
}),
new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/display/take_a_screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var layers = [
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const display = new Map(document.getElementById('map'), {
// create a MVTLayer to act as the "basemap" (background layer)
new MVTLayer({
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})
]
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/add_contextmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/add_road.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let lineLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/change_road_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/create_address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/create_navlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/create_place.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/crossing_detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/custom_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/edit_building.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/edit_line_3d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let lineLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/edit_point_3d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
const pointLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/hello_world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
}),
// add the TileLayer to the display
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let lineLayer = new TileLayer({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Editor} from '@here/xyz-maps-editor';
let backgroundLayer = new MVTLayer({
min: 1, max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let myLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/pointer_listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});

Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/range_selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/select_shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let lineLayer = new TileLayer({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let myLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/editor/transform_road.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let navlinkLayer = new TileLayer({
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/layer/3d_buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const display = new Map(document.getElementById('map'), {
new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
},
style: {
backgroundColor: '#555555',
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/layer/3d_lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Map} from '@here/xyz-maps-display';
var baseMapLayer = new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
},
style: {
backgroundColor: '#ECE0CA',
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/layer/3d_points.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const display = new Map(document.getElementById('map'), {
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
})]
});
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/layer/Heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const display = new Map(document.getElementById('map'), {
new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
},
min: 1,
max: 20,
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/examples/layer/MVTLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const display = new Map(document.getElementById('map'), {
new MVTLayer({
name: 'mvt-world-layer',
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
// optional settings:
// max : 16, // max level for loading data
// min : 1 // min level for loading data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let backgroundLayer = new MVTLayer({
min: 1,
max: 20,
remote: {
url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
url: 'https://vector.hereapi.com/v2/vectortiles/base/mc/{z}/{x}/{y}/omv?apikey=' + YOUR_API_KEY
}
});
let buildingLayer = new TileLayer({
Expand Down
Loading

0 comments on commit 1428bac

Please sign in to comment.