Skip to content
guillaume charbonnier edited this page Mar 6, 2019 · 7 revisions

Map

topicmap
😅 (difficulty) ⌛ (time-Box) 🔗 (related to)
1️⃣ / 5️⃣ 60 - 90 mn Location, Location

✔️ primary objectives

:suspect: Peace of cake

  • Select a location services provider
  • Add a map

:rage1: Easy

  • Set the map to the device current position
  • control the map properties : tilt, rotation, zoom level
  • change the map type
  • position a filled cercle at a given location : try to set a fixed "world" size (i.e 100m) or a fixed screen size.

:rage3: Normal

  • when clicking on the map, an image item should be set related to the position corresponding to the mouse clik (for instance 250m to the east)
  • Dynamical creation of marker (as a rectangle, an image or anything else you want) : each time one click on the map a marker is created, when clicking on an existing marker it gets deleted

💰 useful ressources

  • more than 40 sounds in /res/wav

👶 Newbies area

Warning : Spoilers !!!
QML types Module Useful for...
MouseArea QtQuick make your own control
Button QtQuick.Controls 2 self explanatory
SoundEffect QtMultimedia play a sound

ℹ️ useful information and hints

  • you can use Qt.darker() or Qt.lighter() to define shades of a given color
  • if you use QuickControls the background property of a control let you define how your control looks like

⚠️ cautions and warnings

N/A

secondary objectives (only for the braves 🏆 )

:rage4: very difficult

  • create markers from a json content (one can be find in the useful ressources)
  • place a picture for every restaurants around us within 2km
  • Geocode/reverse geocode each time a marker is clicked, display its address and position

:goberserk: Nightmare

  • display the navigation from your current position to a selected POI

:godmode: God mode

  • write your own plugin

Clone this wiki locally