Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
<script> | <script> | ||
− | var | + | var geojsonFeature = { |
+ | "type": "Feature", | ||
+ | "properties": { | ||
+ | "name": "Coors Field", | ||
+ | "amenity": "Baseball Stadium", | ||
+ | "popupContent": "This is where the Rockies play!" | ||
+ | }, | ||
+ | "geometry": { | ||
+ | "type": "Point", | ||
+ | "coordinates": [-104.99404, 39.75621] | ||
+ | } | ||
+ | }; | ||
+ | L.geoJSON(geojsonFeature).addTo(map); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</script> | </script> |
Revision as of 14:28, 23 February 2022