Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
geodata-vector-tiled: using instrospection position, if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek committed Jun 5, 2020
1 parent 861a6dc commit af389f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mapproxy/src/mapproxy/generator/geodata-vector-tiled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit af389f1

Please sign in to comment.