Create a layer / resource (data layer) to delimit an area
A layer allows you to delineate and highlight a territory on the map (department, region, country, etc.).
From Wemap Pro, you can create a layer by importing a GeoJSON format file.
π Please note:
- The GeoJSON format is the current standard for describing geographic data and their attributes, being easily integrable into web applications.
- Before importing, make sure the file complies with the GeoJSON standard and that its size remains reasonable for web use (< 2MB).
- Online tools exist to allow you to reduce the size of such a file (e.g., mapshaper.org) or to convert different formats to GeoJSON.
π§© Create a layer
- Create a new resource: "Create" > "Resource"
- Select "Data Layer"
- Name the resource

- Click on "Import from a file" (in red in the image) or draw with our tools (in blue)

- Customize your layer:
- Click on the relevant area
- Apply the desired configurations from the styling module that opens on the right side of the screen:
- Properties: vary according to the GeoJSON content
- Fill: fill color and opacity
- Outline: outline color, opacity, and line thickness

- Click on "Save"
ποΈ Associate the layer with a map
Once created, you can then directly link this resource to a map:
- Click on "Link this layer to a map"
- Select the map from the list that appears, then click "OK".
