Reformat mapviewer example code.
Make code to follow qml coding conventions.
Use switch instead of if-else statement.
Add helper.js with common functions.
Change-Id: Iba989d3677fa428b45609f24a82b26ef7cefe675
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | ee1deee9a2293a82829efc724ad448aa9a210ae1 |
| parent | b384ac3b83ead4593b03594a5ef3d4d82fae8959 |
| author | Michal Klocek <michal.klocek@theqtcompany.com> |
| committer | Michal Klocek <michal.klocek@theqtcompany.com> |
| commit time | Mon, 13 Apr 2015 14:54:56 +0000 |
- M examples/location/mapviewer/Geocode.qml
- M examples/location/mapviewer/Locale.qml
- M examples/location/mapviewer/MainMenu.qml
- M examples/location/mapviewer/MapPopupMenu.qml
- M examples/location/mapviewer/ReverseGeocode.qml
- M examples/location/mapviewer/RouteAddress.qml
- M examples/location/mapviewer/RouteList.qml
- M examples/location/mapviewer/RouteListDelegate.qml
- M examples/location/mapviewer/RouteListHeader.qml
- M examples/location/mapviewer/content/map/MapComponent.qml
- A examples/location/mapviewer/helper.js
- M examples/location/mapviewer/mapviewer.qml
- M examples/location/mapviewer/mapviewerwrapper.qrc