Skip to content

Fix/digitizer bring your own printdata#1123

Merged
werrolf merged 2 commits into
release/3.0.7from
fix/digitizer-bring-your-own-printdata
Mar 21, 2019
Merged

Fix/digitizer bring your own printdata#1123
werrolf merged 2 commits into
release/3.0.7from
fix/digitizer-bring-your-own-printdata

Conversation

@werrolf

@werrolf werrolf commented Mar 21, 2019

Copy link
Copy Markdown
Contributor

Changes mbPrintClient.printDigitizerFeature API to expect an attribute mapping (preferred), or alternatively a native OpenLayers feature.

Old-style invocations with just a Digitizerish feature id and Digitizerish "schema" name are no longer allowed and will throw an error.

This frees the Mapbender print backend from looking up FeatureType / DataStore services, which is completely unsafe anyway.

Every Digitizer Element can potentially define its FeatureType set in its backend configuration. Service lookup is not possible in those cases.

See mapbender/mapbender-digitizer#69

werrolf added 2 commits March 21, 2019 09:56
…sers of the printDigitizerFeature method must now bring their own attribute mapping, or at the very least the actual feature object
@werrolf werrolf merged commit 58b3f22 into release/3.0.7 Mar 21, 2019
@werrolf werrolf deleted the fix/digitizer-bring-your-own-printdata branch March 28, 2019 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant