Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
gabesnider authored and gabesnider committed Sep 19, 2016
1 parent ca3a033 commit 61b979f
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified leaflet/.DS_Store
Binary file not shown.
Binary file modified leaflet/leaflet (2)/.DS_Store
Binary file not shown.
Binary file modified travelleaflet/.DS_Store
Binary file not shown.
Binary file added travelleaflet/images/layers-2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added travelleaflet/images/layers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added travelleaflet/images/marker-icon-2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added travelleaflet/images/marker-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added travelleaflet/images/marker-shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 38 additions & 4 deletions travelleaflet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
position: absolute;
height: 100%;
width: 100%;
margin-left: auto;
margin-right: auto;
}

</style>
Expand All @@ -34,7 +36,7 @@

<script>

var map = L.map('map');
var map = L.map('map').setView([32.109333, 34.855499], 2), touch;

L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
subdomains: 'abc',
Expand All @@ -46,9 +48,41 @@
noWrap: true
});

var planes = [
["Tel Aviv, Israel", 32.109333, 34.855499]
]
L.marker([10.2750, -84.8255]).addTo(map).bindPopup("Monteverde, Costa Rica");
L.marker([59.3293, 18.0686]).addTo(map).bindPopup("Stockholm, Sweden");
L.marker([59.9139, 10.7522]).addTo(map).bindPopup("Oslo, Norway");
L.marker([55.6761, 12.5683]).addTo(map).bindPopup("Copenhagen, Denmark");
L.marker([-8.350885, 116.037276]).addTo(map).bindPopup("Gili Trawangan, Bali, Indonesia");
L.marker([-16.9186, 145.7781]).addTo(map).bindPopup("Cairns, AUS");
L.marker([-33.8688, 151.2093]).addTo(map).bindPopup("Sydney, AUS");
L.marker([-25.3444, 131.0369]).addTo(map).bindPopup("Uluru, AUS");
L.marker([29.4241, -98.4936]).addTo(map).bindPopup("San Antonio, TX, USA");
L.marker([43.0831, -73.7846]).addTo(map).bindPopup("Saratoga Springs, NY, USA");
L.marker([35.6870, -105.9378]).addTo(map).bindPopup("Santa Fe, NM, USA");
L.marker([44.4759, -73.2121]).addTo(map).bindPopup("Burlington, VT, USA");
L.marker([40.7128, -74.0059]).addTo(map).bindPopup("New York City, NY, USA");
L.marker([38.9072, -77.0369]).addTo(map).bindPopup("Washington, D.C., USA");
L.marker([-0.1807, -78.4678]).addTo(map).bindPopup("Quito, Ecuador");
L.marker([-1.3928, -78.4269]).addTo(map).bindPopup("Banos, Ecuador");
L.marker([-0.9538, -90.9656]).addTo(map).bindPopup("Galapagos Islands, Ecuador");
L.marker([36.1441, -5.3417]).addTo(map).bindPopup("Rock of Gibraltar");
L.marker([30.32164, 35.48013]).addTo(map).bindPopup("Petra, Jordan");
L.marker([32.109333, 34.855499]).addTo(map).bindPopup("Tel Aviv, Israel");
L.marker([31.7683, 35.2137]).addTo(map).bindPopup("Jerusalem, Israel");
L.marker([32.7940, 34.9896]).addTo(map).bindPopup("Haifa, Israel");
L.marker([31.4512, 35.3836]).addTo(map).bindPopup("Ein Gedi, Israel");
L.marker([29.5577, 34.9519]).addTo(map).bindPopup("Eilat, Israel");
L.marker([32.1848, 34.8713]).addTo(map).bindPopup("Ra'anana, Israel");
L.marker([31.6688, 34.5743]).addTo(map).bindPopup("Ashkolon, Israel");
L.marker([32.3215, 34.8532]).addTo(map).bindPopup("Netanya, Israel");
L.marker([37.9838, 23.7275]).addTo(map).bindPopup("Athens, Greece");
L.marker([40.6401, 22.9444]).addTo(map).bindPopup("Thessaloniki, Greece");
L.marker([-36.84846, 174.76333]).addTo(map).bindPopup("Auckland, NZ");
L.marker([-43.53205, 172.63623]).addTo(map).bindPopup("Christchurch, NZ");
L.marker([-45.03116, 168.6626]).addTo(map).bindPopup("Queenstown, NZ");
L.marker([-37.81411, 144.96328]).addTo(map).bindPopup("Melbourne, AUS");
L.marker([-28.64737, 153.60198]).addTo(map).bindPopup("Byron Bay, AUS");
L.marker([-42.88190, 147.32381]).addTo(map).bindPopup("Hobart, AUS");

</script>

Expand Down

0 comments on commit 61b979f

Please sign in to comment.