-
…ation functions to the RMMapContents class: -(CGPoint)latLngToPixel:(CLLocationCoordinate2D)latlong; -(CLLocationCoordinate2D)pixelToLatLng:(CGPoint)pixel; Added double-tap detection code that tests and verifies the functionality of the latLngToPixel and pixelToLatLng methods. The double-tap code can be found in the touchesEnded withEvent method in the RMMapView class. I fixed a small math bug in the projectMercatorPoint() method in the RMMercatorToScreenProjection class where it would not properly calculate the correct pixel.x coordinate with different combinations of positive/negative mercator points. There is only one known bug with these LatLng/Pixel translation methods. The map does not reset the Origin.x mercator value when it loops so the conversion from latLongToPixel will return an incorrect pixel.x value if you have panned the map enough to loop the map.
-
… through to the overlay
-
These have not been tested; but should work.
-
Fixed the bug producing seams between tiles.
-
…. Played with some animation stuff.
-
Moved the new map into 'Map/'; though xcode hasn't moved the files & updated references for me. Most significant change: Instead of all the bits calling each other, now RMMapContents manages the entire map context. Its much easier to understand whats going on.
-
Still some work to do here though.