-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ed74dd
commit 14fd2b8
Showing
5 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://rawgit.com/lvoogdt/Leaflet.awesome-markers/2.0/develop/dist/leaflet.awesome-markers.css"> <script src="https://rawgithub.com/lvoogdt/Leaflet.awesome-markers/2.0/develop/dist/leaflet.awesome-markers.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.Default.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/leaflet.markercluster-src.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/leaflet.markercluster.js"></script> <link rel="stylesheet" href="https://birdage.github.io/Leaflet.awesome-markers/dist/leaflet.awesome.rotate.css"> <style> html, body { width: 100%; height: 100%; margin: 0; padding: 0; } #map { position:absolute; top:0; bottom:0; right:0; left:0; } </style> </head> <body> <div class="folium-map" id="folium_5a2652b02dfc46ff988693e411b081d5" style="width: 960px; height: 500px"></div> <script> var base_tile = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 17, minZoom: 10.0, attribution: 'Map data (c) <a href="http://openstreetmap.org">OpenStreetMap</a> contributors' }); var baseLayer = { "Base Layer": base_tile }; /* addition of the wms layers */ /* addition of the tile layers */ /* list of layers to be added */ var layer_list = { }; /* Bounding box. */ var southWest = L.latLng(-90, -180), northEast = L.latLng(90, 180), bounds = L.latLngBounds(southWest, northEast); /* Creates the map and adds the selected layers */ var map = L.map('folium_5a2652b02dfc46ff988693e411b081d5', { center:[37.787914, -122.4034835], zoom: 12.0, maxBounds: bounds, layers: [base_tile] }); L.control.layers(baseLayer, layer_list).addTo(map); //cluster group var clusteredmarkers = L.markerClusterGroup(); //section for adding clustered markers //add the clustered markers to the group anyway map.addLayer(clusteredmarkers); var circle_1 = L.circle([37.795001, -122.39997], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_1.bindPopup("Clay at Battery"); circle_1._popup.options.maxWidth = 300; map.addLayer(circle_1) var circle_2 = L.circle([37.79728, -122.398436], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_2.bindPopup("Davis at Jackson"); circle_2._popup.options.maxWidth = 300; map.addLayer(circle_2) var circle_3 = L.circle([37.794231, -122.402923], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_3.bindPopup("Commercial at Montgomery"); circle_3._popup.options.maxWidth = 300; map.addLayer(circle_3) var circle_4 = L.circle([37.795425, -122.404767], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_4.bindPopup("Washington at Kearney"); circle_4._popup.options.maxWidth = 300; map.addLayer(circle_4) var circle_5 = L.circle([37.788975, -122.403452], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_5.bindPopup("Post at Kearney"); circle_5._popup.options.maxWidth = 300; map.addLayer(circle_5) var circle_6 = L.circle([37.799953, -122.398525], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_6.bindPopup("Embarcadero at Vallejo"); circle_6._popup.options.maxWidth = 300; map.addLayer(circle_6) var circle_7 = L.circle([37.790302, -122.390637], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_7.bindPopup("Spear at Folsom"); circle_7._popup.options.maxWidth = 300; map.addLayer(circle_7) var circle_8 = L.circle([37.795392, -122.394203], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_8.bindPopup("Harry Bridges Plaza (Ferry Building)"); circle_8._popup.options.maxWidth = 300; map.addLayer(circle_8) var circle_9 = L.circle([37.791464, -122.391034], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_9.bindPopup("Embarcadero at Folsom"); circle_9._popup.options.maxWidth = 300; map.addLayer(circle_9) var circle_10 = L.circle([37.783871, -122.408433], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_10.bindPopup("Powell Street BART"); circle_10._popup.options.maxWidth = 300; map.addLayer(circle_10) var circle_11 = L.circle([37.787152, -122.388013], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_11.bindPopup("Embarcadero at Bryant"); circle_11._popup.options.maxWidth = 300; map.addLayer(circle_11) var circle_12 = L.circle([37.789756, -122.394643], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_12.bindPopup("Temporary Transbay Terminal (Howard at Beale)"); circle_12._popup.options.maxWidth = 300; map.addLayer(circle_12) var circle_13 = L.circle([37.792251, -122.397086], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_13.bindPopup("Beale at Market"); circle_13._popup.options.maxWidth = 300; map.addLayer(circle_13) var circle_14 = L.circle([37.781752, -122.405127], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_14.bindPopup("5th at Howard"); circle_14._popup.options.maxWidth = 300; map.addLayer(circle_14) var circle_15 = L.circle([37.77865, -122.418235], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_15.bindPopup("San Francisco City Hall"); circle_15._popup.options.maxWidth = 300; map.addLayer(circle_15) var circle_16 = L.circle([37.781332, -122.418603], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_16.bindPopup("Golden Gate at Polk"); circle_16._popup.options.maxWidth = 300; map.addLayer(circle_16) var circle_17 = L.circle([37.80477, -122.403234], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_17.bindPopup("Embarcadero at Sansome"); circle_17._popup.options.maxWidth = 300; map.addLayer(circle_17) var circle_18 = L.circle([37.780526, -122.390288], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_18.bindPopup("2nd at Townsend"); circle_18._popup.options.maxWidth = 300; map.addLayer(circle_18) var circle_19 = L.circle([37.785299, -122.396236], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_19.bindPopup("2nd at Folsom"); circle_19._popup.options.maxWidth = 300; map.addLayer(circle_19) var circle_20 = L.circle([37.786978, -122.398108], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_20.bindPopup("Howard at 2nd"); circle_20._popup.options.maxWidth = 300; map.addLayer(circle_20) var circle_21 = L.circle([37.782259, -122.392738], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_21.bindPopup("2nd at South Park"); circle_21._popup.options.maxWidth = 300; map.addLayer(circle_21) var circle_22 = L.circle([37.771058, -122.402717], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_22.bindPopup("Townsend at 7th"); circle_22._popup.options.maxWidth = 300; map.addLayer(circle_22) var circle_23 = L.circle([37.774814, -122.418954], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_23.bindPopup("South Van Ness at Market"); circle_23._popup.options.maxWidth = 300; map.addLayer(circle_23) var circle_24 = L.circle([37.776619, -122.417385], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_24.bindPopup("Market at 10th"); circle_24._popup.options.maxWidth = 300; map.addLayer(circle_24) var circle_25 = L.circle([37.784878, -122.401014], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_25.bindPopup("Yerba Buena Center of the Arts (3rd @ Howard)"); circle_25._popup.options.maxWidth = 300; map.addLayer(circle_25) var circle_26 = L.circle([37.7766, -122.39547], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_26.bindPopup("San Francisco Caltrain 2 (330 Townsend)"); circle_26._popup.options.maxWidth = 300; map.addLayer(circle_26) var circle_27 = L.circle([37.776617, -122.39526], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_27.bindPopup("San Francisco Caltrain (Townsend at 4th)"); circle_27._popup.options.maxWidth = 300; map.addLayer(circle_27) var circle_28 = L.circle([37.788446, -122.408499], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_28.bindPopup("Powell at Post (Union Square)"); circle_28._popup.options.maxWidth = 300; map.addLayer(circle_28) var circle_29 = L.circle([37.781039, -122.411748], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_29.bindPopup("Civic Center BART (7th at Market)"); circle_29._popup.options.maxWidth = 300; map.addLayer(circle_29) var circle_30 = L.circle([37.798522, -122.407245], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_30.bindPopup("Grant Avenue at Columbus Avenue"); circle_30._popup.options.maxWidth = 300; map.addLayer(circle_30) var circle_31 = L.circle([37.794139, -122.394434], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_31.bindPopup("Steuart at Market"); circle_31._popup.options.maxWidth = 300; map.addLayer(circle_31) var circle_32 = L.circle([37.7913, -122.399051], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_32.bindPopup("Mechanics Plaza (Market at Battery)"); circle_32._popup.options.maxWidth = 300; map.addLayer(circle_32) var circle_33 = L.circle([37.786305, -122.404966], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_33.bindPopup("Market at 4th"); circle_33._popup.options.maxWidth = 300; map.addLayer(circle_33) var circle_34 = L.circle([37.789625, -122.400811], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_34.bindPopup("Market at Sansome"); circle_34._popup.options.maxWidth = 300; map.addLayer(circle_34) var circle_35 = L.circle([37.798541, -122.400862], 200, { color: 'None', fillColor: 'green', fillOpacity: 0.6 }); circle_35.bindPopup("Broadway St at Battery St"); circle_35._popup.options.maxWidth = 300; map.addLayer(circle_35) </script> </body> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.