Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaGeo committed Oct 3, 2023
1 parent 69062b9 commit cc2ba06
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions radon/radon.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<head>
<title>PMTiles Radon Vector Example</title>
<meta charset="utf-8"/>
<script src="https://cdn.jsdelivr.net/npm/ol@v7.3.0/dist/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v7.3.0/ol.css">
<script src="https://unpkg.com/ol-pmtiles@0.2.0/dist/olpmtiles.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ol@v8.1/dist/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.1/ol.css">
<script src="https://unpkg.com/ol-pmtiles@0.3.0/dist/olpmtiles.js"></script>
<style>
body, #map {
height:100vh;
Expand All @@ -18,6 +18,7 @@
// Create a style function that maps CLASS_MAX values to styles
function getStyle(feature) {
const classMax = feature.get("CLASS_MAX");
console.log("CLASS_MAX:", classMax);

// Define your style categories and corresponding styles here
// Adjust the conditions and styles to match your data
Expand Down

0 comments on commit cc2ba06

Please sign in to comment.