Forums

OverviewFelgo 2 Support (Qt 5) › Also… drag and drop pin on map

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23474

    jrrobles79
    #23481

    Peter

    please post a minimal example of your code

    #23517

    Alex
    Felgo Team

    Hi,

    with this method of AppMap (derived from the Qt Map component), you can get the coordinates of an x/y position relative to the map item: https://felgo.com/doc/qt/qml-qtlocation-map/#toCoordinate-method

    So at whatever x/y position you drop the pin, you can get the actual coordinates and move on from there (e.g. delete your “dropped” pin and create an actual MapQuickItem at that coordinate).

    Best,
    Alex

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support