Sha256: 4b35821a0bbe5618253d92acee2edfc6bf7ec186eb8eeb7729d6a24a802f97fd
Contents?: true
Size: 1.04 KB
Versions: 6
Compression:
Stored size: 1.04 KB
Contents
<!DOCTYPE html> <html> <head> <title>Leaflet debug page</title> <link rel="stylesheet" href="../../dist/leaflet.css" /> <link rel="stylesheet" href="../css/screen.css" /> <script type="text/javascript" src="../../build/deps.js"></script> <script src="../leaflet-include.js"></script> </head> <body> <div id="map" style="width: 800px; height: 600px; border: 1px solid #ccc"></div> <script> var map = L.map('map'); var marker = L.marker([51.5, -0.09]) .bindPopup("<b>Hello world!</b><br />I am a popup.") .addTo(map); //.openPopup(); var marker2 = L.marker([51.525, -0.09]) .addTo(map); map.setView([51.505, -0.09], 13); var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', { attribution: 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', maxZoom: 18, key: 'd4fc77ea4a63471cab2423e66626cbb6', styleId: 997 }).addTo(map); var a_popup = L.popup().setContent('Previously created') marker2.bindPopup(a_popup); </script> </body> </html>
Version data entries
6 entries across 6 versions & 1 rubygems