Skip to content

Commit

Permalink
is relative to html location
Browse files Browse the repository at this point in the history
  • Loading branch information
feludwig committed Nov 1, 2023
1 parent b94b07c commit f7a323e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ function switch_style_over(tgt_index) {
function main() {
document.styles=[
// take the first as default on load
{name:'OpenStreetMap Carto',href:'styles/openstreetmap-vector.json'},
{name:'OSM Bright',href:'styles/osm-bright.json'},
{name:'MapTiler Basic',href:'styles/maptiler-basic.json'},
{name:'OSM Bright cyclo',href:'styles/cyclo-bright.json'},
{name:'OpenStreetMap Carto',href:'demo/styles/openstreetmap-vector.json'},
{name:'OSM Bright',href:'demo/styles/osm-bright.json'},
{name:'MapTiler Basic',href:'demo/styles/maptiler-basic.json'},
{name:'OSM Bright cyclo',href:'demo/styles/cyclo-bright.json'},
];
try {
document.map = new maplibregl.Map({
Expand Down

0 comments on commit f7a323e

Please sign in to comment.