Skip to content

Commit b0ea3dc

Browse files
committed
removed remote resources and added local versions in libs directory
1 parent bd2d9b8 commit b0ea3dc

17 files changed

+4703
-10
lines changed

.DS_Store

0 Bytes
Binary file not shown.

fonts/open-sans-regular.woff2

10.2 KB
Binary file not shown.

index.html

+13-10
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@
6868
<style type="text/css">
6969
*{margin:0;padding:0;box-sizing:border-box;vertical-align:middle;}
7070

71+
@font-face {
72+
font-family:'Open Sans';
73+
font-style:normal;
74+
font-weight:400;
75+
src:local('Open Sans Regular'),local('OpenSans-Regular'),url(fonts/open-sans-regular.woff2) format('woff2');
76+
}
77+
7178
#olMap{width:100%;height:100%;position:relative;z-index:2;}
7279
#mapboxMap{width:100%;height:100%;position:relative;z-index:1;}
7380
#themebar{position:fixed;bottom:0;left:0;color:#333;margin:16px;
@@ -121,10 +128,9 @@
121128
</style>
122129

123130
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"/>
124-
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans"/>
125-
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.4.2/ol.css">
126-
<link rel="stylesheet" type="text/css" href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.css"/>
127-
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
131+
<link rel="stylesheet" type="text/css" href="libs/openlayers/4.4.2/ol.css">
132+
<link rel="stylesheet" type="text/css" href="libs/mapbox-gl-js/v0.41.0/mapbox-gl.css"/>
133+
<link rel="stylesheet" type="text/css" href="libs/font-awesome/4.7.0/css/font-awesome.min.css">
128134
</head>
129135
<body>
130136
<div id="mapContainer">
@@ -151,12 +157,9 @@
151157
</div>
152158
</div>
153159
</body>
154-
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise"></script>
155-
<script src="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.4.2/ol.js"></script>
156-
<script src="js/olms.js"></script>
157-
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.js'></script>
158-
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.css' rel='stylesheet' />
159-
<!--script src='js/main.js'></script-->
160+
<script src="libs/openlayers/4.4.2/ol.js"></script>
161+
<script src="libs/ol-mapbox-style/olms.js"></script>
162+
<script src="libs/mapbox-gl-js/v0.41.0/mapbox-gl.js"></script>
160163
<script type="text/javascript">
161164
'use strict';
162165

js/.DS_Store libs/.DS_Store

6 KB
Binary file not shown.

libs/font-awesome/.DS_Store

6 KB
Binary file not shown.

libs/font-awesome/4.7.0/css/font-awesome.min.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
132 KB
Binary file not shown.
Binary file not shown.

libs/font-awesome/4.7.0/fonts/fontawesome-webfont.svg

+2,671
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.

libs/mapbox-gl-js/v0.41.0/mapbox-gl.css

+432
Large diffs are not rendered by default.

libs/mapbox-gl-js/v0.41.0/mapbox-gl.js

+519
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

libs/openlayers/4.4.2/ol.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)