This is urgent.....
I have downloaded a gps appa from the link
It downloads a google map and displays on the screen.
I have to locate my position on that map with a graphics icon.
and move that icon with key presses. also redownload other portions of the map and redraw to screen .
the parameter to the get method in socket connection is
//Prefix of google URL to retrieve Map
// %S, %S will be replaced by latitude and longitude values respectively by the values retrieved from the method GetGPSInfoL
It displays a map on the screen. But I want to show my location on the screen. I guess my position will be marked by the centre of the screen. There I have to draw a rectangle. Then I have to
move the rectangle with handling key events, I guess.I need a confirmation if I am right.
But I want to download a largar part of the map. Clip onto the central rectangle.put the remaining into buffer.
browse through that map on each movement. Display the other parts if required. i guess the better option would be to keep my position always in centre and mark a rectangle there. show all previous positions through a pre-allocated icon. redraw the clips of the main imgae with each key event.
I tried to download a larger map by changing the get request as follows->
that is changing the size variable in the query string to 1000x 1000 and remaining part staying the same. But nothing gets displayed in the screen.
withe the size 240x320 a google map is displayed.
how to solve this.
so I have 3 problems->
1> how 2 get the larger map with size 1000x1000(this will be downloaded as jpg file)
2> how to clip a part (240x320) and display on screen
3>how to redraw the next clipping when the icon moves