wheelmap:wheelmap.git
5 years agoPinch zooming now zooms to the pinch centre, not the centre of the screen. master
Rob Williamson [Wed, 21 Dec 2011 16:03:35 +0000 (17:03 +0100)]
Pinch zooming now zooms to the pinch centre, not the centre of the screen.

Splash page is simplified.

5 years agoMoved the map implementation into a separate element.
Rob Williamson [Tue, 20 Dec 2011 19:34:47 +0000 (20:34 +0100)]
Moved the map implementation into a separate element.

5 years agoAdded location indicator.
Rob Williamson [Tue, 20 Dec 2011 19:19:06 +0000 (20:19 +0100)]
Added location indicator.

5 years agoRestarted implementation. Now dependent on Qt 4.7.4 and Qt Mobility 1.2.
Rob Williamson [Tue, 20 Dec 2011 18:46:20 +0000 (19:46 +0100)]
Restarted implementation. Now dependent on Qt 4.7.4 and Qt Mobility 1.2.

6 years agoRemoved a double delete error. Less crashy now, but still there's a
Rob Williamson [Sun, 19 Jun 2011 14:38:49 +0000 (16:38 +0200)]
Removed a double delete error. Less crashy now, but still there's a
problem with drawing items on the map. Basically, the map scale has to
be altered in order for the map icons to be drawn. There doesn't seem to
be a way to tell the map to update explicitly. May need to implement my
own map.

6 years agoTweaked item population code. This is unstable.
Rob Williamson [Mon, 6 Jun 2011 08:43:26 +0000 (10:43 +0200)]
Tweaked item population code. This is unstable.

There is a stability issue with this version on Symbian^3 devices that has not been investigated or resolved. The app fails silently after a little time.

6 years agoWe now update after the map objects have finished populating.
Rob Williamson [Sun, 5 Jun 2011 08:09:01 +0000 (10:09 +0200)]
We now update after the map objects have finished populating.

The map appears not to notice properly when it needs updating. This API is crying out for a manual updateMap() function.

6 years agoWorkaround for http://bugreports.qt.nokia.com/browse/QTBUG-15004.
Rob Williamson [Sun, 5 Jun 2011 07:41:28 +0000 (09:41 +0200)]
Workaround for bugreports.qt.nokia.com/browse/QTBUG-15004.

It still looks as if there are some requests that are not being sent/not being serviced properly. panning vertically often fails to cause a refresh, and jumping locations (by zooming in or jumping to current position) often fails to cause a refresh.

6 years agoSome threading issues still; something's starting a timer on a QObject derived class...
Rob Williamson [Sat, 4 Jun 2011 19:23:24 +0000 (21:23 +0200)]
Some threading issues still; something's starting a timer on a QObject derived class from another thread.

We're getting what at first glance looks like some weird results back from the Wheelmap server.

We're now only requesting rectangles when actually necessary.

6 years agoWorked around the bad map object lifetime behaviour and bad behaviour of QML lists...
Rob Williamson [Sat, 4 Jun 2011 12:42:46 +0000 (14:42 +0200)]
Worked around the bad map object lifetime behaviour and bad behaviour of QML lists by pre-creating a list of map objects, and dynamically populating them.

6 years agoonItemsFound is now much more efficient. Unfortunately, this approach is sabotaged...
Rob Williamson [Sat, 4 Jun 2011 05:02:19 +0000 (07:02 +0200)]
onItemsFound is now much more efficient. Unfortunately, this approach is sabotaged by the QML Map element's use of its objects list. I'm starting to be of the opinion that the QML Map element is simply not fit for purpose.

6 years agoThe parser engine now produces a list of model items as a result.
Rob Williamson [Fri, 3 Jun 2011 19:48:44 +0000 (21:48 +0200)]
The parser engine now produces a list of model items as a result.

Emitting lots of small itemsFound signals lowers performance considerably because the absolute performance of onItemsFound in WheelmapMap.qml is abysmal.

6 years agoRefactored the parser thread into a separate engine class.
Rob Williamson [Fri, 3 Jun 2011 18:43:52 +0000 (20:43 +0200)]
Refactored the parser thread into a separate engine class.

The parser now doesn't block the UI. What does block the UI severely is the handling of the itemsFound signal in QML.

There are 2 approaches I will explore:
1 to attempt to make many small calls to itemsFound rather than 1 large one
2 to attempt to reuse map objects rather than deleting & instantiating each time the items list updates.

6 years agoParsing and validation are now done natively. I don't think they're done in a separat...
Rob Williamson [Fri, 3 Jun 2011 17:38:53 +0000 (19:38 +0200)]
Parsing and validation are now done natively. I don't think they're done in a separate thread yet though.

6 years agoHave now moved the JSON parsing into a worker thread. The icon creation and model...
Rob Williamson [Wed, 1 Jun 2011 17:59:01 +0000 (19:59 +0200)]
Have now moved the JSON parsing into a worker thread. The icon creation and model validation code should also be moved into a separate thread. Currently there's a big UI unresponsive period when map items are downloaded.

6 years agoTested on C6-01. This is now rendering meaningful points on a map.
Rob Williamson [Mon, 30 May 2011 15:50:11 +0000 (17:50 +0200)]
Tested on C6-01. This is now rendering meaningful points on a map.

Problems include downloading way too many points, and only downloading when zoomed right in. Incremented version number.

6 years agoWe now create a bunch of QML objects from JavaScript arrays, re-creating all of them...
Rob Williamson [Mon, 30 May 2011 15:34:42 +0000 (17:34 +0200)]
We now create a bunch of QML objects from JavaScript arrays, re-creating all of them every time the array changes. Let's see what kind of an overhead this results in.

6 years agoWe do some hackery involving generating QML on the fly. Not sure this is the right...
Rob Williamson [Mon, 30 May 2011 12:17:37 +0000 (14:17 +0200)]
We do some hackery involving generating QML on the fly. Not sure this is the right approach though.

6 years agoWe can now get and validate multiple map items. We cannot display them because of...
Rob Williamson [Sun, 29 May 2011 18:35:52 +0000 (20:35 +0200)]
We can now get and validate multiple map items. We cannot display them because of QtQuick's crippled list mechanism. Will need to hack around this somehow.

6 years agoUpdated dependencies to make simulator build again.
Rob Williamson [Sun, 22 May 2011 17:41:08 +0000 (19:41 +0200)]
Updated dependencies to make simulator build again.

Started implementing a MapIcon.

6 years agoUsing v0.1.2 of PinchArea the way it's meant to be used.
Rob Williamson [Sun, 22 May 2011 15:57:15 +0000 (17:57 +0200)]
Using v0.1.2 of PinchArea the way it's meant to be used.

6 years agoFixed map items list; App runs again now.
Rob Williamson [Sun, 22 May 2011 09:44:22 +0000 (11:44 +0200)]
Fixed map items list; App runs again now.

Repeater has a different error now.

6 years agoUpdated pinch area export libraries.
Rob Williamson [Wed, 18 May 2011 06:03:13 +0000 (08:03 +0200)]
Updated pinch area export libraries.

6 years agoMerge branch 'master' of gitorious.org:wheelmap/wheelmap
Rob Williamson [Wed, 18 May 2011 05:11:38 +0000 (07:11 +0200)]
Merge branch 'master' of gitorious.org:wheelmap/wheelmap

6 years agoChanged MapHelper to a standard QML type because QML extensions are misbehaving.
Rob Williamson [Wed, 18 May 2011 05:11:21 +0000 (07:11 +0200)]
Changed MapHelper to a standard QML type because QML extensions are misbehaving.

6 years agoPut the main.qml back to normal.
Rob Williamson [Sun, 15 May 2011 19:28:31 +0000 (21:28 +0200)]
Put the main.qml back to normal.

6 years agoWe now install pincharea via a sis, and the version numbering is no longer broken.
Rob Williamson [Sun, 15 May 2011 19:27:13 +0000 (21:27 +0200)]
We now install pincharea via a sis, and the version numbering is no longer broken.

6 years agoIncomplete broken work in progress. Need to update files to install PinchArea Sis...
Rob Williamson [Sun, 15 May 2011 18:30:51 +0000 (20:30 +0200)]
Incomplete broken work in progress. Need to update files to install PinchArea Sis file, and see if Component works on Symbian - doesn't on simulator.

6 years agoAdded binaries of PinchArea 0.1.2.
Rob Williamson [Sun, 15 May 2011 18:18:26 +0000 (20:18 +0200)]
Added binaries of PinchArea 0.1.2.

6 years agoReplaced PinchArea dlls for Symbian^3 targets.
Rob Williamson [Sun, 15 May 2011 16:41:20 +0000 (18:41 +0200)]
Replaced PinchArea dlls for Symbian^3 targets.

6 years agoMoved the response handling code. Made the maximum rect size much smaller.
Rob Williamson [Sun, 15 May 2011 08:56:13 +0000 (10:56 +0200)]
Moved the response handling code. Made the maximum rect size much smaller.

6 years agoWheelmap can now be built for the MinGw4.4 simulator.
Rob Williamson [Sat, 14 May 2011 12:28:31 +0000 (14:28 +0200)]
Wheelmap can now be built for the MinGw4.4 simulator.

6 years agoAdded application version.
Rob Williamson [Sat, 14 May 2011 06:50:28 +0000 (08:50 +0200)]
Added application version.

6 years agoBegun logging individual features.
Rob Williamson [Fri, 13 May 2011 06:37:57 +0000 (08:37 +0200)]
Begun logging individual features.

6 years agoMade the code compile again.
Rob Williamson [Thu, 12 May 2011 19:32:27 +0000 (21:32 +0200)]
Made the code compile again.

Added an attempt at logging out the response string.

6 years agoFirst attempt to instantiate a map icon from C++.
Rob Williamson [Wed, 11 May 2011 19:41:32 +0000 (21:41 +0200)]
First attempt to instantiate a map icon from C++.

Doesn't compile. This has been committed as a place marker.

6 years agoRemoved a Symbian capability that was not used.
Rob Williamson [Tue, 10 May 2011 19:37:47 +0000 (21:37 +0200)]
Removed a Symbian capability that was not used.

Added a comment about the Wheelmap API.

6 years agoTidied the project file a little.
Rob Williamson [Tue, 10 May 2011 17:53:46 +0000 (19:53 +0200)]
Tidied the project file a little.

The PinchArea dll is now installed with the app.

This should probably be replaced with a sis file instead - PinchArea should remain if more than one application uses it.

6 years agoWe now parse the data we've received - may have to do this in another
Rob Williamson [Tue, 10 May 2011 06:57:13 +0000 (08:57 +0200)]
We now parse the data we've received - may have to do this in another
thread. It takes nontrivial time on the simulator (about 10 seconds).

6 years agoWe only emit a tapped event if something has actually been tapped.
Rob Williamson [Mon, 9 May 2011 06:55:42 +0000 (08:55 +0200)]
We only emit a tapped event if something has actually been tapped.

Max rect size and rect are now QVariantMaps so that they can be set from
QML. Max rect allows the user to set how large the rect can become
before we no longer request content for it - presumably if we're zoomed
out so far we can see the whole of Europe, we no longer want to spam the
map with 1000s of icons all layered on top of each other!

The max rect size defaults to a unit rect.

6 years agoInitial model created to manage querying of location data.
Rob Williamson [Sun, 8 May 2011 12:46:26 +0000 (14:46 +0200)]
Initial model created to manage querying of location data.

Need to be able to do something like use a repeater to create map
objects, but at the moment the map doesn't like having a repeater passed
to it as a default object.

6 years agoInitial attempt at getting a list of tapped QGeoMapObjects to the interface.
unknown [Sat, 7 May 2011 10:08:11 +0000 (12:08 +0200)]
Initial attempt at getting a list of tapped QGeoMapObjects to the interface.

6 years agoAdded missing dlls.
Rob Williamson [Fri, 6 May 2011 20:44:10 +0000 (22:44 +0200)]
Added missing dlls.

Need to handle multiple tap recipients.

6 years agoRemoved unneeded dependencies.
Robert Williamson [Fri, 6 May 2011 19:18:47 +0000 (21:18 +0200)]
Removed unneeded dependencies.

Signed-off-by: Rob Williamson <rob@robwilliamson.com>
6 years agoApp now builds and links and runs on the simulator.
Robert Williamson [Fri, 6 May 2011 16:42:00 +0000 (18:42 +0200)]
App now builds and links and runs on the simulator.

Still can't build and deploy to Symbian without a separat installation
of the PinchArea component. This will be fixed soon.

Signed-off-by: Rob Williamson <rob@robwilliamson.com>
6 years agoPreliminary multiple recipient of tap handling.
Rob Williamson [Fri, 6 May 2011 19:40:06 +0000 (21:40 +0200)]
Preliminary multiple recipient of tap handling.

6 years agoRemove some commented out nonsense.
Rob Williamson [Thu, 5 May 2011 19:49:58 +0000 (21:49 +0200)]
Remove some commented out nonsense.

6 years agoAttempts to call toCoordinate from C++ have failed due to the unavailability of the...
Rob Williamson [Thu, 5 May 2011 19:44:44 +0000 (21:44 +0200)]
Attempts to call toCoordinate from C++ have failed due to the unavailability of the QDeclarativeCoordinate class.

The helper now takes a tapCoord - the conversion must be done before the QML user modifies the property.

6 years agoAdded a map helper extension object class to implement tap handling in native code...
Rob Williamson [Sun, 1 May 2011 19:14:45 +0000 (21:14 +0200)]
Added a map helper extension object class to implement tap handling in native code. Server querying is disabled at the moment.

Numerous abortive attempts to convert screen positions to coordinates - calling the declarative map object's function doesn't work because the returned class is private.

Will go with hacky solution of taking coordinates instead of screen position for the tap location - haven't implemented this yet.

This checkin is for safekeeping.

6 years agoAddition of LGPL short text to be auto-included in further source files.
Rob Williamson [Wed, 27 Apr 2011 19:42:59 +0000 (21:42 +0200)]
Addition of LGPL short text to be auto-included in further source files.

6 years agoPartial add of LGPL licensing information.
Rob Williamson [Wed, 27 Apr 2011 19:42:26 +0000 (21:42 +0200)]
Partial add of LGPL licensing information.

6 years agoCompletion of rename from WheelMap to Wheelmap.
Rob Williamson [Wed, 27 Apr 2011 19:19:57 +0000 (21:19 +0200)]
Completion of rename from WheelMap to Wheelmap.

6 years agoPartial rename from WheelMap to Wheelmap.
Rob Williamson [Wed, 27 Apr 2011 19:14:32 +0000 (21:14 +0200)]
Partial rename from WheelMap to Wheelmap.

6 years agoAdded Wheelmap icon.
Rob Williamson [Wed, 27 Apr 2011 18:43:37 +0000 (20:43 +0200)]
Added Wheelmap icon.

6 years agoRemoved the limit parameter from the request allows data to be
Rob Williamson [Tue, 26 Apr 2011 19:28:21 +0000 (21:28 +0200)]
Removed the limit parameter from the request allows data to be
retrieved.

Begun parsing data. Verified to parse feature collections successfully.

6 years agoRemoved debug information to cut size down.
Rob Williamson [Mon, 25 Apr 2011 20:09:10 +0000 (22:09 +0200)]
Removed debug information to cut size down.

6 years agoAdded an appropriate offset for the map marker images.
Rob Williamson [Mon, 25 Apr 2011 20:06:36 +0000 (22:06 +0200)]
Added an appropriate offset for the map marker images.

Added properties to the test marker image to allow it to be selectable within TouchMap.

Moved some TouchMap functionality to a separate map.js to clean things up and help with reuse.

TouchMap now passes click events to its objects in the form of an inverted "selected" property. objects must define x, y, width and height properties to receive these events.

6 years agoAdded a JSON parser wrapper.
Rob Williamson [Mon, 25 Apr 2011 17:57:11 +0000 (19:57 +0200)]
Added a JSON parser wrapper.

6 years agoAdded a 3rd party JSON parser licensed under MIT Expat/X11 License (http://en.wikiped...
Rob Williamson [Mon, 25 Apr 2011 17:20:11 +0000 (19:20 +0200)]
Added a 3rd party JSON parser licensed under MIT Expat/X11 License (en.wikipedia.org/wiki/MIT_License).

The parser was found here: http://nilier.blogspot.com/2010/08/json-parser-class-for-qt.html;

Fake data has been added to simulate working JSON responses from the Wheelmap API.

6 years agoThe map now makes a request to the Wheelmap API every time it comes to rest after...
Rob Williamson [Mon, 25 Apr 2011 16:46:00 +0000 (18:46 +0200)]
The map now makes a request to the Wheelmap API every time it comes to rest after a user gesture.

A marker has been added to the map in the centre of Berlin temporarily.

6 years agoUpdated the PinchArea dll to 0.1.1 - now capabilities are correct.
Rob Williamson [Mon, 25 Apr 2011 10:49:06 +0000 (12:49 +0200)]
Updated the PinchArea dll to 0.1.1 - now capabilities are correct.

Implemented a position button.

Implemented a pretty backdrop.

Moved the map into a notional page.

Removed redundant images.

6 years agoAdded Button Images
Rob Williamson [Mon, 25 Apr 2011 08:12:31 +0000 (10:12 +0200)]
Added Button Images

6 years agoRefined the map implementation.
Rob Williamson [Sun, 24 Apr 2011 20:33:34 +0000 (22:33 +0200)]
Refined the map implementation.

6 years agoAdded simulator PinchArea dependencies. These aren't working at the
Rob Williamson [Sun, 24 Apr 2011 17:50:44 +0000 (19:50 +0200)]
Added simulator PinchArea dependencies. These aren't working at the
moment.

Pinch zoom is now working correctly.

6 years agoAdded other necessary files.
Rob Williamson [Sun, 24 Apr 2011 08:23:55 +0000 (10:23 +0200)]
Added other necessary files.

6 years agoAdded PinchArea v0 implementation as a dependency.
Rob Williamson [Sun, 24 Apr 2011 08:21:26 +0000 (10:21 +0200)]
Added PinchArea v0 implementation as a dependency.

6 years agoAdding empty WheelMap application.
Rob Williamson [Sun, 24 Apr 2011 08:16:58 +0000 (10:16 +0200)]
Adding empty WheelMap application.