Download Antarctica MapKit/MapKit-Renderer.index.html from MegaBites-AI/MapKit: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/datasets/MegaBites-AI/MapKit/resolve/main/Antarctica%20MapKit/MapKit-Renderer.index.html
- Command line
-
hf download 'hf://datasets/MegaBites-AI/MapKit/Antarctica MapKit/MapKit-Renderer.index.html'
-
curl -L -o MapKit-Renderer.index.html https://huggingface.co/datasets/MegaBites-AI/MapKit/resolve/main/Antarctica%20MapKit/MapKit-Renderer.index.html
1.01 kB
| <html> | |
| <head> | |
| <title>MapKit Renderer</title> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Leaflet CSS --> | |
| <link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css"/> | |
| <style> | |
| #map { height: 100vh; } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="map"></div> | |
| <!-- Leaflet JS --> | |
| <script src="https://unpkg.com/leaflet/dist/leaflet.js"></script> | |
| <script> | |
| // Initialize map centered on Hong Kong | |
| var map = L.map('map').setView([22.3193, 114.1694], 12); | |
| // Base layer (OpenStreetMap tiles) | |
| L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { | |
| attribution: '© OpenStreetMap contributors' | |
| }).addTo(map); | |
| // Example: load GeoJSON data (replace with your MapKit file) | |
| fetch('hongkong_mapkit.geojson') | |
| .then(response => response.json()) | |
| .then(data => { | |
| L.geoJSON(data).addTo(map); | |
| }); | |
| </script> | |
| </body> | |
| </html> |