Last active
February 12, 2021 04:23
-
-
Save t-artikov/e15049c7fca77fecc108c76df61c4fa9 to your computer and use it in GitHub Desktop.
mapgl support test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<p id="r1"/> | |
<p id="r2"/> | |
<script src="https://mapgl.2gis.com/api/js/v1"></script> | |
<script> | |
const r1 = mapgl.notSupportedReason({ failIfMajorPerformanceCaveat: false }); | |
const r2 = mapgl.notSupportedReason({ failIfMajorPerformanceCaveat: true }); | |
document.getElementById("r1").innerHTML = "notSupportedReason: " + r1; | |
document.getElementById("r2").innerHTML = "notSupportedReason(failIfMajorPerformanceCaveat): " + r2; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment