Skip to content

Commit

Permalink
changed autoconf-https.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanBloch committed Aug 12, 2021
1 parent 550f0eb commit af03a65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions public/ign/autoconf-https.json

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="utf-8" />
<link href="./favicon.ico" rel="icon" />
<link href="favicon.ico" rel="icon" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="Map" name="Vanilla GIS" />
<link href="./manifest.json" rel="manifest" />
Expand Down
4 changes: 2 additions & 2 deletions public/map.js
@@ -1,5 +1,5 @@
const go = () => {
const ignKey = 'choisirgeoportail';
const ignKey = 'choisirgeoportail';

const ignOLLayer = new ol.layer.VectorTile({
title: 'Plan IGN vecteur',
Expand Down Expand Up @@ -67,7 +67,7 @@ const go = () => {

// Connection to Geoportail server
Gp.Services.getConfig({
serverUrl: './ign/autoconf.js',
serverUrl: './ign/autoconf-https.json',
callbackSuffix: '',
onSuccess: go,
});

0 comments on commit af03a65

Please sign in to comment.