Skip to content

Commit e86abd2

Browse files
authored
Merge pull request #54 from kplotnik/master
Added trailing slash to the style's base URL
2 parents 7eaac17 + ea1772a commit e86abd2

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)