Feb 1, 2009, 6:31:32 PM2/1/09
Hi all. I am using mapview to develop an app that displays some
overlays on the map. I tried to use fromLatLngToContainerPixel to get
a position in pixels on the device where I can draw circles over the
map; however, I got some odd results after I do
GPoint centerPixel = [self.mapView.map fromLatLngToContainerPixel:
NSLog(@"%ld %ld"", centerPixel.x, centerPixel.y);
Isn't GPoints always have small values for iPhone? Say 0 ~ 480.
Or is this just due to my incorrect formatting strings?
I get the same odd results after I call getCenterPixel. Should it
always return the center pixel of my screen?
Thanks in advanced.