-
Notifications
You must be signed in to change notification settings - Fork 3
Map
guillaume charbonnier edited this page Mar 6, 2019
·
7 revisions
| 😅 (difficulty) | ⌛ (time-Box) | 🔗 (related to) |
|---|---|---|
| 1️⃣ / 5️⃣ | 60 - 90 mn | Location, Location |
- Select a location services provider
- Add a map
- 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.
- 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
- more than 40 sounds in /res/wav
Warning : Spoilers !!!
| QML types | Module | Useful for... |
|---|---|---|
| MouseArea | QtQuick | make your own control |
| Button | QtQuick.Controls 2 | self explanatory |
| SoundEffect | QtMultimedia | play a sound |
- you can use
Qt.darker()orQt.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
N/A
- 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
- display the navigation from your current position to a selected POI
- write your own plugin