Merge pull request #13971 from MoonE/remove-ie-compatibility

Remove more IE compatibility
This commit is contained in:
MoonE
2022-08-12 00:38:47 +02:00
committed by GitHub
12 changed files with 6 additions and 39 deletions

View File

@@ -8,7 +8,6 @@ tags: "fullscreen, geolocation, orientation, mobile"
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="./theme/ol.css" type="text/css">
@@ -36,7 +35,6 @@ tags: "fullscreen, geolocation, orientation, mobile"
}
</style>
<script src="https://unpkg.com/elm-pep@1.0.6/dist/elm-pep.js"></script>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,URL"></script>
</head>
<body>
<div id="map" class="map"></div>

View File

@@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

View File

@@ -11,7 +11,6 @@ cloak:
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>Mobile full screen example</title>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
@@ -24,7 +23,6 @@ cloak:
}
</style>
<script src="https://unpkg.com/elm-pep@1.0.6/dist/elm-pep.js"></script>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,URL"></script>
</head>
<body>
<div id="map" class="map"></div>

View File

@@ -3,13 +3,9 @@ layout: example.html
title: Permalink
shortdesc: Example on how to create permalinks.
docs: >
In this example the <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history"
In this example the <a href="https://developer.mozilla.org/en-US/docs/Web/API/History_API"
target="_blank">HTML 5 History API</a> is used to update the browser URL
with the current zoom-level, center and rotation when the map is moved.
Note that the History API is not supported in <a href="https://caniuse.com/history"
target="_blank">all browsers</a>, one might consider to use a <a
href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills#html5-history-api-pushstate-replacestate-popstate"
target="_blank">a polyfill</a>.
tags: "permalink, openstreetmap, history"
---
<div id="map" class="map"></div>

View File

@@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<script src="https://unpkg.com/lz-string@1.4.4/libs/lz-string.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/components/prism-core.min.js"></script>