Skip to content

Commit

Permalink
Merge pull request #271 from hw-df/update-openlayers-8-1
Browse files Browse the repository at this point in the history
Update to OpenLayers 8.1.0
  • Loading branch information
jonataswalker authored Sep 15, 2023
2 parents 9e796f9 + 662c3ce commit ec16177
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 231 deletions.
4 changes: 2 additions & 2 deletions examples/contextmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v7.1.0/ol.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v8.1.0/ol.css" />
<link rel="stylesheet" href="../dist/ol-contextmenu.css" />
<link rel="stylesheet" href="contextmenu.css" />
</head>
<body>
<div id="map" tabindex="0"></div>
<script src="https://cdn.jsdelivr.net/npm/ol@v7.1.0/dist/ol.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ol@v8.1.0/dist/ol.js"></script>
<script src="../dist/ol-contextmenu.iife.js"></script>
<script src="contextmenu.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/my-project-with-ol-contextmenu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"vite": "^3.1.3"
},
"dependencies": {
"ol": "^7.1.0",
"ol": "^8.1.0",
"ol-contextmenu": "latest"
}
}
21 changes: 9 additions & 12 deletions examples/my-project-with-webpack/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css"
/>
</head>
<body>
<div id="map"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
<script src="dist/bundle.js"></script>
</body>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css" />
</head>
<body>
<div id="map"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
<script src="dist/bundle.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/my-project-with-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"webpack-cli": "^4.10.0"
},
"dependencies": {
"ol": "^7.1.0",
"ol": "^8.1.0",
"ol-contextmenu": "latest"
}
}
7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@main/dist/en/v7.0.0/legacy/ol.css"
/>
<script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@main/dist/en/v7.0.0/legacy/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/ol.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Custom Context Menu for Openlayers</title>
<style>
Expand Down
Loading

0 comments on commit ec16177

Please sign in to comment.