Select to view content in your preferred language

How to paint over mapview using CPP?

359
1
02-08-2019 12:50 AM
Girishchandra_Yendargaye
New Contributor III

Can we paint or draw something over mapview? How to Do it?

Tags (1)
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

If you want to draw in "map coordinate" space, then I'd suggest using our Geometry classes to create a Point, Polyline, or Polygon, and then display it on the map with a Graphic. That is showcased in this sample - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/GOSymbols at master · Esr... 

If you want to draw in screen coordinate space and it doesn't need to stay tied to a map location, you can use any of Qt's mechanisms to draw, like QPainter.

0 Kudos