I use another class to translate from X, Y and Z to Latitude and Longitude. There where TileSystem comes into play. I found this in one of the msdn samples and I added just 1 method to it. The method is TileSystem.TileXYToLatLong. In the tile source, the map already passes X, Y. Took me a while to figure out that it was TileX and TileY and that I needed to use Latitude and Longitudes when inserting the tile image. As you can see I used methods already present in the class to do the dirty work🙂

now let me just tell you there is much optimisation that can be done and I did for GoA2B..its a shame I never released it. Instead of just one tile layer, you need to have multiple map layers one for each zoom levels and you show / hide desired (depending upon zoom) the correct layer.

Go a2b still in beta at version 0.5
I have been spending a bit of time on Cool Camera. Version 1.5 is going to be out soon. Version 1.6 is almost ready. I have to start localisation soon.
So far new features in 1.6 include
* HSL (Hue, Saturation and luminance) Dynamic filter
* YUV (Actually YCbCr) – Brightness, Blue and Red chroma dynamic filter
* Corrected preview of Pixelate & Hexagoneal pixelate
* Upload of photos and videos to SkyDrive
* Since album for both photos and videos.

Every couple of weeks i usually come back to Go a2b. I recently realised that it wasn’t tethering that was causing me to exceed my mobile data limits. It was the fact that they had not put me on the right package🙂 So while commuting in the traing, i have started testing Go a2b again.

I got the course based map turning correctly. I was so happy that i submitted it for beta. Then last night i had an epiphany and i got the zoom issue sorted. Now you can zoom in and out without any issues. no image corruption / lag any more. However i screwed up the map rotation😦 i guess i have to check it again and go for a drive later on.

I love windowsphone. Its almost been a year and this i guess is the biggest app. Currently support maps are Bing, OpenStreet, Osmarender and Google maps. I tried yahoo but i had issues, I am looking into Nokia maps.

Go A2B works has been slow and i have slipped my target. I am still doing the HUD and i am trying to figure out how to calculate bits of display items e.g. speed – thats simple, distance pending on current leg, next itinreray (for displaying additional directions), max speed for this itinerary, ETA.

I spent about a day debating whether i should go with streamed TTS or have a nice sound files. I guess v1.0 will feature native sound files for English and i will expand in different markets once i have localised sound files in those languages.

I had a last minute niggle yesterday… i finished localisation and the application of filters to thumbnail, obfuscated the xap and was ready to submit it and i thought… i should test and and guess what happened !!!

1) the zoom changes (2nd part – using ScaleTransform) mean the image was getting larger and going under the zoom buttons.. which of course was not acceptable.

2) same thing was happening in picture viewer.

so i spent time today to fix that, reverted to cropping the image and fitting it to image rather than scaling the image (i think its slower than scaling slightly as there’s bitmap creation etc but it works… we shall see.

the only thing i would have liked further is kinetic scrolling on flicking a zoom image, currently i move it twice the distance based on velocity.

Now i am back on Go A2B, the car has been moved to the center, the map viewer and i am working on checking the current location against the path and to recalculate if it moves say 50 meters off the current path., i have started to adding things to the HUD.

Day 5 today: I thought i wouldn’t get much done on Sunday but i was wrong. I did spend an hour or two yesterday and i worked on the map display side of things.

I added the offline tiles code and i optimsed the code to use a single thread that runs / stops as required – using my favourite ManualResetEvent to pause / restart / exit it. In fact its good code that does what it needs to.

Today i got the route calculation part in and i plugged it in with the GeoWatcher so once current location is determined, route calculation is called. BTW i did get around to doing a physical phone test today!!

Next things so do

1) Speed, next leg info etc in the hud

2) TTS based on route info

3) get the bleeding car in the centre of the map

4) rotate the map as required based on values returned by gps.

5) do settings page

For anyone interested in doing something like this, don’t persist GeoResult – i tried and i got a few FormatException trying to deserialise it. Now i am persisting way point.