Adding a vector layer from a local GeoJSON file

<MapLeaflet
  height="400px"
  baseLayers={["OSM"]}>
  <VectorLayer
    name="Sites"
    source={{
            path2data: {
              path: "/data/ksa.geojson"
            }
          }}
    fitToContent={true}
    checked={true}
    popupTemplate={`<p><strong>${Item_Label}</strong>. ${Site_Name} <br />Date: ${Early}${Late}</p>`}
  />
</MapLeaflet>

Data from Kahramanmaraş Survey created by Elizabeth Carter and published on OpenContext add distributed with CC BY 4.0 International license.

LAD: Laboratorio di Archeologia Digitale alla Sapienza

Built with ♥ with s:CMS v5.5.2 by LAD @Sapienza

s:CMS è un progetto ideato e sviluppato dal
LAD: Laboratorio di Archeologia Digitale alla Sapienza
Code | Issues