By default, the maps on the platform use a simple and clear style, derived from Open Street Map. This is suitable for most situations and there's no need to add more information than required.
Sometimes it can be valuable to show extra information on the map, to provide citizens with relevant insights in a specific project. For example, to display sociodemographic information on the various quarters in the city, or show pins that represent bike sharing stations.
This is supported, and can be configured for every individual project. Currently there is no option to configure this yourself in the project settings. Please reach out to us to configure this for you.
What is possible?
Every project map can display a number of extra layers. These layers can be composed of polygons, showing regions, or point markers. Citizens can toggle individual layers on/off themselves. Every layer needs a name and can be configured to be toggled on or off by default. Preferably you provide us with a separate geojson file for every layer you would like to add.
Next to the extra layer, a legend can be configured per map, that displays a color code. It's important that this is matched to the colors in the geojson file.
Finally, it's also possible to customize the default map center and zoom level on a per-project basis.
In order to configure these settings, please reach out to us and let us know the desired configuration per project.
So in summary, if you want a customized map for a specific project, provide us with the following information:
- In which project?
- What should the map center be, if not the platform default?
- What should the zoom level be, if not the platform default?
If you want extra layer(s) on the map, for every layer:
- What is the name of the layer towards citizens?
- Should it be toggled on or off by default?
- The geojson file with the layer's geographic data
If you want to display a legend underneath the map:
- For all legend items, what's the label and the color?
In this example image above: The streetnames underneath the map are the legend, each street is a "legend item".
The selection box on the top right in the map itself controls the layers, which all have a 'label', ie the name of the layer.
- The legend underneath is in no way linked to the map itself technically. It's just a list of texts with an associated color. Meaning you could have a layer A which uses green and blue, and a layer B which uses red and yellow. The legend could show all 4 colors, it won't react to the layers in any way.
- A label is just the text of an item shown in the legend, in this screenshot e.g. "Rue Berthier".
How do I create a geosjon file?
It's very simple. An easy tool to create your own map layer is https://geoman.io/geojson-editor. Determine the layer you want to show by drawing a 'polygon'. On the right there's a code that you can download, appearing on the right. If you provide us with this file, we will import it onto your map for you.
We only have shapefiles, are they supported too?
The platform uses geojson internally, so this is the preferred file type. If all you have is a shapefile, we can also work with that and convert it to geojson for you. Make sure that it only includes the data that needs to be displayed on the map.
Can we display the built-in areas on the map too?
Currently there is no built-in link between the areas, defined in the admin settings, and the content shown on the map. It's however possible to add the area definitions to the map in the same way any other data can be added.