Qt World Summit: Submit your Presentation

Map QML, how to add selection feature for countries/states/cities?

  • It's my first time developing an application with map, my goal is to replicate this interactive map.

    My question
    Is possible to create a map where countries/states/cities are selectable components of the map?

    My impressions
    I did a quick read on docs and example codes. Couldn't find an explicit solution to replicate the map in the link.

    So far it seems I'll need to create a polygon area matching the location, using a list of points, and add a mouse area with the same shape to that location, to make it selectable.

Log in to reply