Last night, I got to wondering how difficult it would be to slap together a map control for my phone. The goal? To host up some NLT Landsat 7 tiles from my PC and be able to browse them seamlessly from my phone, using the stylus. The Platform is my TMobile Wing, with Windows Mobile 6 Pro running CE OS 5.2. My language of choice is C# and using the Windows Mobile 6 SDK within Visual Studio 2005.
My first goal was to load up a reasonably high-res blue marble image (1024x512) and hack out some code to handle the mouse events. I soon after started tinkering a bit with the panning of the image to see what type of behavior I would receive from using managed code on the platform. Along the way, I started to get some ideas for how I could have the UI behave in the longer term. I started asking myself some reasonably simple questions, such as:
.. should the app run full screen or not?
.... are the standard menu buttons at the bottom of the screen necessary?
...... what should my mouse clicks Do?
........ with respects to mouse clicks, what is the nicest way to zoom?
I was able to work out a small demo, nothing spectacular but i'll probably spend some time building off of it this week. I will probably spend a bit of time tomorrow night working on the network code, request buffering, etc... For now, enjoy this small demo of how it currently acts.
Some things to take note of:
- The behavior when sporadically panning the image is pretty good
- You can see some artifact along the outskirts of the image, although you'd never see this once the outskirt data is being buffered in
- There's an annoying "jump" glitch, which I will clean up tomorrow :-)