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

[qt] Implement Qt runtime style API - #5551

Closed
brunoabinader wants to merge 7 commits into
masterfrom
qt-runtime-style
Closed

brunoabinader wants to merge 7 commits into
masterfrom
qt-runtime-style

Conversation

@brunoabinader

@brunoabinader brunoabinader commented Jul 3, 2016 •

Copy link
Copy Markdown
Contributor

Implements:

  • Set filters
  • Non-custom layers (line, circle, symbol, raster, background)
  • Sources (raster, vector, GeoJSON*)
  • Set paint properties
  • Set layout properties

Caveats:

  • Use QVariant to abstract variant types
  • Strict type check for filter values via Qmapbox::FilterValueType
  • Implemented Qt-specific conversion helpers
  • Replace QMapboxGL::removeCustomLayer() with generic QMapboxGL::removeLayer()
  • QMapboxGL is getting big - we might want to move the conversion functions to a separate file

Missing:

  • Inline GeoJSON data input for GeoJSON source
  • Static assertion checks

Fixes #5511.

👀 @yhahn @tmpsantos

@brunoabinader brunoabinader added feature ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold Qt Mapbox Maps SDK for Qt, aka Qt Location Mapbox GL labels Jul 3, 2016
@brunoabinader brunoabinader added ✓ ready for review and removed ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels Jul 4, 2016
@brunoabinader

Copy link
Copy Markdown
Contributor Author

For style properties, I've customized the style converter code from include/mbgl/style/convert to auto generate property setters.

@brunoabinader brunoabinader changed the title [notready] Implement Qt runtime style API [qt] Implement Qt runtime style API Jul 4, 2016
Comment thread .mason
@@ -1 +1 @@
Subproject commit 3017f674227ff7a7d915911157cdff62079c3089
Subproject commit 98feac14b1ae298322ee30291105b40ba29dac0b

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed.

@brunoabinader

Copy link
Copy Markdown
Contributor Author

As per conversation with @tmpsantos - we opted to simplify the interface to match Node's conversion implementation.

@tmpsantos
tmpsantos deleted the qt-runtime-style branch July 11, 2016 12:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature Qt Mapbox Maps SDK for Qt, aka Qt Location Mapbox GL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants