Skip to content

Commit 3eb73fc

Browse files
committed
using cdn
1 parent 412a767 commit 3eb73fc

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

example/createtiles.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,4 @@ test ! -f gdal2tiles.py \
1111
# process ...
1212
python ./gdal2tiles.py -l -p raster -z 0-4 -w none karta.jpg tiles
1313

14-
# install leaflet ...
15-
test ! -d node_modules \
16-
npm install
17-
1814
echo 'Now open "index.html" in your browser.'

example/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<title>example for leaflet-rastercoords</title>
55
<meta charset="utf-8"/>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
7-
<link rel="stylesheet" href="./node_modules/leaflet/dist/leaflet.css" />
8-
<script src="./node_modules/leaflet/dist/leaflet.js"></script>
7+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.1/dist/leaflet.css" />
8+
<script src="https://unpkg.com/leaflet@1.0.1/dist/leaflet.js"></script>
99
<script src="../rastercoords.js"></script>
1010
<script src="index.js"></script>
1111
<style>

example/package.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)