Skip to content

Commit ea1772a

Browse files
author
Konstantin Plotnikov
committed
Added trailing slash to the style's base URL
Signed-off-by: Konstantin Plotnikov <[email protected]>
1 parent 6c4305d commit ea1772a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

change-style-at-load/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function setStyle(map){
99
// First argument is the style path and the second is the base URL to use for
1010
// resolving relative URLs in the style like textures, fonts.
1111
// all referenced resources relative to the base path https://js.api.here.com/v3/3.1/styles/omv.
12-
var style = new H.map.Style('./data/dark.yaml', 'https://js.api.here.com/v3/3.1/styles/omv');
12+
var style = new H.map.Style('./data/dark.yaml', 'https://js.api.here.com/v3/3.1/styles/omv/');
1313
// set the style on the existing layer
1414
provider.setStyle(style);
1515
}

0 commit comments

Comments
 (0)