I'm making an APP for map service, and I got a problem.

Is there any way to add MapObject (MapCircle, MapImage...) dynamic to Map element without declarative code in QML.

I get the data from a XML document, I try to use the method "addMapObject()" in Map element, but it's not work.

Does anybody know how to add MapObject to Map in QML, please share some experience.