From 5b05fec2da6e85705b461d2184109add9bbf2ad7 Mon Sep 17 00:00:00 2001 From: ArienKN Date: Thu, 16 May 2024 15:11:25 +0200 Subject: [PATCH] Update gitignore --- .gitignore | 3 ++- demo/osm-boundaries.js | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 50ddc6c..a8e8112 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules .sass-cache *.scssc -demo/leaflet-pmtiles* \ No newline at end of file +demo/leaflet-pmtiles* +*.pmtiles \ No newline at end of file diff --git a/demo/osm-boundaries.js b/demo/osm-boundaries.js index 56349ad..1f0d29d 100644 --- a/demo/osm-boundaries.js +++ b/demo/osm-boundaries.js @@ -11,7 +11,8 @@ async function run () { attribution: '© OpenStreetMap' }).addTo(map) */ - class MyBorderSymbolizer { + + /* class MyBorderSymbolizer { draw(context,geom,z,feature) { context.fillStyle = "transparent" context.beginPath() @@ -26,7 +27,6 @@ async function run () { } } - // k-rclone kalisio copy ovh:kargo/data/MBTIles/osm-boundaries-05-01-2024.mbtiles ~/Projets/leaflet-pmtiles/ --progress class MyPlaceSymbolizer { place(layout,geom,feature) { let pt = geom[0][0] @@ -51,7 +51,8 @@ async function run () { return [{anchor:pt,bboxes:[bbox],draw:draw}] } } - + */ + let LABEL_RULES = [ /*{ dataLayer: "level4",