Skip to content

Commit

Permalink
fix playground raster example
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Dec 11, 2023
1 parent 508f570 commit 31200f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/playground/examples/layer/visualize_sat_image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ var myLayer = new TileLayer({
min: 14,
// Maximum zoom level
max: 20,
// set the tileSize in pixel
tileSize: 512,
// Define provider for this layer
provider: new ImageProvider({
// Name of the provider
name: 'myImageProvider',
// URL of image tiles
url: 'https://maphub.api.here.com/satellite/{QUADKEY}?access_token=' + YOUR_ACCESS_TOKEN
url: `https://maps.hereapi.com/v3/background/mc/{z}/{x}/{y}/png8?apikey=${YOUR_API_KEY}&style=satellite.day&size=512`
})
});

Expand Down

0 comments on commit 31200f3

Please sign in to comment.