<!doctype html>
<html>
<head>
<!-- Adding in the Leaflet CSS file -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
<![endif]-->
<!-- Adding Leaflet JavaScript file -->
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
<!-- Adding styling info for the map -->
<style type="text/css">
#map { height: 600px; }
</style>
</head>
<body>
<div id="map"></div>
<!-- The JavaScript that's powering the map -->
<script>
// Initialize the map
var map = L.map('map').setView([39.656,-110.896], 5);
// Add tiles
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
// Add a marker
var marker = L.marker([45.516469,-122.676208]).addTo(map);
// Add a popup to the marker
marker.bindPopup("Portland, OR");
</script>
</body>
</html>
-
Notifications
You must be signed in to change notification settings - Fork 0
alexatodd/GeogRes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published