File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ function overlayHistoricalBerlin(map) {
1818 ( ( zoom == 13 ) && ( row < 2686 || column < 4400 || row > 2687 || column > 4401 ) ) ||
1919 ( ( zoom == 14 ) && ( row < 5372 || column < 8800 || row > 5375 || column > 8803 ) ) ||
2020 ( ( zoom == 15 ) && ( row < 10744 || column < 17601 || row > 10750 || column > 17607 ) ) ) {
21- return 'https://heremaps.github.io/maps-api-for-javascript-examples/custom-tile-overlay /tiles/blank.png' ;
21+ return '. /tiles/blank.png' ;
2222 } else {
2323 // The Old Berlin Map Tiler follows the TMS URL specification.
2424 // By specification, tiles should be accessible in the following format:
2525 // http://server_address/zoom_level/x/y.png
26- return 'https://heremaps.github.io/maps-api-for-javascript-examples/custom-tile-overlay /tiles/' + zoom + '/' + row + '/' + column + '.png' ;
26+ return '. /tiles/' + zoom + '/' + row + '/' + column + '.png' ;
2727 }
2828 }
2929 } ) ;
Original file line number Diff line number Diff line change 88 */
99function renderKML ( map ) {
1010 // Create a reader object passing in the URL of our KML file
11- reader = new H . data . kml . Reader ( 'https://heremaps.github.io/maps-api-for-javascript-examples/display-kml-on-map /data/us-states.kml' ) ;
11+ reader = new H . data . kml . Reader ( '. /data/us-states.kml' ) ;
1212 reader . addEventListener ( "statechange" , function ( evt ) {
1313 if ( evt . state === H . data . AbstractReader . State . READY ) {
1414 // Get KML layer from the reader object and add it to the map
You can’t perform that action at this time.
0 commit comments