Get started with pannellum CDN
MIT licensed
Pannellum: Lightweight, open-source, responsive HTML5/CSS3/JS panorama viewer.
Tags:- panorama
- viewer
Stable version
Copied!
How to start using pannellum CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with pannellum CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/dist/pannellum.css" />
<script src="https://cdn.cdnhub.io/pannellum/2.5.6/pannellum.js"></script>
</head>
<body>
<div id="map" style="width: 600px; height: 450px;"></div>
<script>
pannellum.viewer({
element: 'map',
center: [13.424, 52.520],
zoom: 13,
tiles: [
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
],
panoProvider: {
'panoramio': {
'apiKey': 'YOUR_PANORAMIO_API_KEY'
}
}
});
</script>
</body>
</html>
Copied!
Copied!