Bug fixes with preprocessing; add streetwidth map

This commit is contained in:
Pieter Vander Vennet 2020-07-17 17:21:07 +02:00
parent c5b9e66bd2
commit 636bad97b3
15 changed files with 13279 additions and 41 deletions

View file

@ -56,7 +56,16 @@ export class LayerDefinition {
*/
elementsToShow: TagDependantUIElementConstructor[];
style: (tags: any) => { color: string, icon: any };
/**
* A simple styling for the geojson element
* color is the color for areas and ways
* icon is the Leaflet icon
* Note that this is passed entirely to leaflet, so other leaflet attributes work too
*/
style: (tags: any) => {
color: string,
icon: any ,
};
/**
* If an object of the next layer is contained for this many percent in this feature, it is eaten and not shown