From af389f15003e6608ddabd917b45d64da9ea0b198 Mon Sep 17 00:00:00 2001 From: Vaclav Blazek Date: Fri, 5 Jun 2020 16:46:30 +0200 Subject: [PATCH] geodata-vector-tiled: using instrospection position, if provided --- mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp b/mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp index 549234b..6e37989 100644 --- a/mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp +++ b/mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp @@ -261,6 +261,10 @@ vts::MapConfig GeodataVectorTiled::mapConfig_impl(ResourceRoot root) } } + if (definition_.introspection.position) { + mapConfig.position = *definition_.introspection.position; + } + // browser options (must be Json::Value!); overrides browser options from // surface's introspection if (!definition_.introspection.browserOptions.empty()) {