Can you provide some more context about what you're trying to do? A code snippet would help us identify if anything is wrong.
We do have samples for this:
Qt C++ API:
Qt QML API:
Let us know if this helps.
Hi James thanks for your reply.
So the thing is i am trying to create a circle (polygon) around a symbol(this located in another overlay) that has few graphics that move around my map(this part works fine until i insert the polygon).
This is how i insert the polygon in the map:
SimpleFillSymbol* circleSym = new SimpleFillSymbol(SimpleFillSymbolStyle::Solid, QColor(46,228,255,100), nullptr, m_dictionarySymbol->m_graphicsOverlayCircles);
Polygon poly1 = GeometryEngine::bufferGeodetic(_point, radius, LinearUnit::meters(), 1, GeodeticCurveType::ShapePreserving);
Graphic* graphic1 = new Graphic(polygonBuilder.toGeometry());
I've found why this is happening, i dont know if its a bug or if i misused the effect.
When i use "SimpleFillSymbolStyle::Solid" for some reason the Solid disturb the map, it only update with mouse actions.
I've changed Solid for Cross, Vertical or any other option and it worked fine. Whats bugs me its that i dont know why.