Difference between revisions of "African great ape layers"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
<script> | <script> | ||
// GEOJSON FILES | // GEOJSON FILES | ||
− | + | var berlin = { | |
+ | "type": "Feature", | ||
+ | "properties": { | ||
+ | "name": "Coors Field", | ||
+ | "amenity": "Baseball Stadium", | ||
+ | "popupContent": "This is where the Rockies play!" | ||
+ | }, | ||
+ | "geometry": { | ||
+ | "type": "Point", | ||
+ | "coordinates": [-104.99404, 39.75621] | ||
+ | } | ||
+ | }; | ||
+ | |||
// Create map | // Create map | ||
var map = L.map('map').setView([-0, 6], 4); | var map = L.map('map').setView([-0, 6], 4); | ||
Line 40: | Line 52: | ||
//var gaabundanceLayer = L.geoJson(null, {style: stylegaabundance}); | //var gaabundanceLayer = L.geoJson(null, {style: stylegaabundance}); | ||
− | var gaabundanceLayer = L.geoJson( | + | var gaabundanceLayer = L.geoJson(berlin);gaabundanceLayer.addTo(map); |
// for Layer Control | // for Layer Control |