Layers¶
With layers you show your own information on the maps in Fireplug, such as assembly points, water points, a floor plan or an external map service. Users switch a layer on or off with the layers button at the top right of the map.
Overview¶
In Settings › Geo settings › Layers you see all custom layers with the name, the description, the type, the last change, the tags and whether the layer is in the layers menu (Control).

With Add layer you create a new layer. Via the menu (⋮) in front of a layer you choose Edit or Remove.
General¶

These properties are the same for all layers.
Properties¶
- Layer name: the name of the layer as shown in the layers menu of the map.
- Description: what is on the layer.
- Weight: the order in the layers menu.
- Sharing:
- Parent account: the parent account also sees the layer.
- Subaccounts: the sub-accounts also see the layer.
- Add to control:
- Control: the layer is in the layers menu of the map.
- Active: the layer is already visible when you open the map; you do not have to switch it on first.
- Add tooltip (not for every type): shows a tooltip for the elements of the layer. Under Tooltip content you set what it contains; Add image adds an image.
- Tags: labels to find and filter layers.
- Layer type: the kind of layer. The fields below depend on the type.
Layer¶
The most general layer: you draw the elements on the map yourself with the drawing buttons on the left:
- line;
- polygon;
- rectangle;
- circle (with a radius in metres that scales with the map);
- circle marker (always the same size on the screen);
- marker (a pin).
KML¶
Keyhole Markup Language (KML) is an XML format for geographic data, known from Google Earth and Google Maps. A KML file describes, for example, locations (placemarks), lines and areas with a name and description.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Placemark>
<description>New York City</description>
<name>New York City</name>
<Point>
<coordinates>-74.006393,40.714172,0</coordinates>
</Point>
</Placemark>
</kml>

Properties¶
- KML: paste the KML directly in the field, for example an export from Google Earth.
GeoJSON¶
GeoJSON is a JSON format for geographic data: points (addresses, locations), lines (streets, borders) and polygons (municipalities, zones), together with extra properties. Many GIS applications can export to GeoJSON.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [102.0, 0.6]
},
"properties": {
"prop0": "value0"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0]
]
},
"properties": {
"prop1": 0.0,
"prop0": "value0"
}
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0],
[100.0, 0.0]
]
]
},
"properties": {
"prop1": {
"this": "that"
},
"prop0": "value0"
}
}
]
}

Properties¶
- GeoJSON: paste the GeoJSON directly in the field.
Overlay¶
With an overlay Fireplug fetches the data from another website (over HTTP(S)). This way you can show, for example, a government map service.

Properties¶
- Layer type:
- Tile: a tile map.
- Layer URL: the address of the tiles, e.g.
https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png. - Subdomains: some services spread the traffic over subdomains (e.g.
['a','b','c']). - Attribution: the source credit the service asks for.
- Max zoom: how far you can zoom in.
- Opacity: a number between 0 (invisible) and 1 (not transparent).
- Layer URL: the address of the tiles, e.g.
- KML: the address (URL) of a KML file.
- GeoJSON: the address (URL) of a GeoJSON file.
- WMS: a Web Map Service publishes map images of geographic data.
- Layer URL: the address of the WMS service.
- Layers: the layers of the service you want to show. Separate multiple layers with a comma, e.g.
LAYER_1,LAYER_2. - Format: the image format (e.g.
image/png). - Transparant: shows the background of the map images as transparent.
- Attribution, Max zoom and Opacity: as for Tile.
- Tile: a tile map.
Image¶
You place an image on the map, for example a floor plan or an aerial photo.

Properties¶
- Opacity: a number between 0 and 1.
- Url: with the pencil you choose the image (PNG).
- 3 drag points: with the three points you stretch the image over the map so that it fits.