Displaying static a map stored on the phone and display location on it?
My app need to read a static map stored on the phone and display it, I would be using a GPS enabled phone with Location API to get my current position and I want to put my position on the map.
I have already done the part of get the co-ordinates using the Location api, the next part for me is how to read the static map from the phone and display the current position on it.
The may wouldn't be large enough probably of a small town or city.
Re: Displaying static a map stored on the phone and display location on it?
What exactly is the problem?
You load one image and blit it on the screen. Knowing the latitude and longitude coordinates of any two opposite corners of the map and the size and position of the image on screen all you have now to do is to calculate the position of your current location relative to the displayed map rect and plot it.
Re: Displaying static a map stored on the phone and display location on it?
maybe the problem is that there are no APIs for gretting map images from the device..
Re: Displaying static a map stored on the phone and display location on it?
Sure there are :) Not maps from Ovi Maps' data though ...
Re: Displaying static a map stored on the phone and display location on it?
Was Kevin able to solve his problem. Cuz i have a similar problem, but i want to make use of Cell triangulation not GPS. (though GPS would be better, most of the devices of my app.'s target users; don't have the GPS-chip.
Re: Displaying static a map stored on the phone and display location on it?
SoulBlade,
My first question on this thread was "What exactly is the problem?" and instead of getting an answer I have you telling that you has a similar problem. Ok, so "What exactly is your similar problem?" ;) What is the concrete technical problem you want to solve once you have got your position info (using cell triangulation for example)?