Alongside the release of the Qt ArcGIS Runtime 100.14.0 SDK, I am excited to announce an update to our Qt open-source toolkit.
Many new features and bugfixes have their way into this release (including enhancements to the Calcite QML style.) There is more here than can neatly fit into a blog, so take a look at the CHANGELOG.md for full details!
FloorFilter
Using the FloorManager API built into ArcGISRuntime we have created an out-of-the-box solution for floor filtering. This FloorFilter tool is very easy to set up, and is highly configurable.
The code to add FloorFilter to your QML Quick application would look like so:
MapView {
id: viewMap
Map {
initUrl: "<FloorAware Map URL>"
}
FloorFilter {
geoView: parent
anchors {
left: parent.left
margins: 10
top: parent.top
}
}
}
Callout rewrite
I'm pleased to say that Callout has been rewritten to take advantage of modern QML features.
Callout's public API has not changed, but internally we take advantage of inheriting from Control, and rendering using QML Shapes. This has solved some known rendering bugs on older devices, and makes Callout more compliant with the sizing and styling expectations of the QML ecosystem.
Callout now respects your app's style settings:
Callout Calcite light theme
Callout Calcite dark theme
We have also provided in the documentation a way to revert back to "old-style" if required:
Callout {
calloutData: myCalloutData
titleTextColor: "#000000"
backgroundColor: "#ffffff"
borderColor: "#000000"
borderWidth: 2
cornerRadius: 5
leaderHeight: 10
leaderWidth: 20
leaderPosition: Callout.LeaderPosition.Bottom
}
Callout old-style
We hope you enjoy the new release! Let us know what you're building with it.