add config plaques commémoratives

This commit is contained in:
Tykayn 2025-04-17 17:34:39 +02:00 committed by tykayn
parent 2956a3ffee
commit c9ecd31302
14 changed files with 536 additions and 166 deletions

View file

@ -28,9 +28,15 @@ describe('mapping properties with rich mapping engine', () => {
})
test('maps simple key to key, and keep the same value', () => {
let Mapping_engine = new mapping_engine(mappingSame)
let featurePoint = {
type: 'Feature',
properties: {
equal: "same value"
}
}
let newProperties = Mapping_engine.convertProperty('equal',
Object.keys(mappingSame.tags),
feature_to_test,
featurePoint,
mappingSame.default_properties_of_point)
expect(newProperties).toStrictEqual({