Closed GoogleCodeExporter closed 8 years ago
Hi Joseph,
Can you figure this one out? As a backup I am applying the [overlay
correctPositionOfAllSublayers] but I imagine it is a very expensice operation as
markers increases in number.
Olivier
Original comment by obrand69@gmail.com
on 31 Dec 2008 at 6:58
Original comment by halmuel...@gmail.com
on 4 Mar 2009 at 6:07
Multiple issues may be resolved by r231. Please do a checkout of
/svn/branches/issue63 and test
against that branch.
Original comment by halmuel...@gmail.com
on 4 Mar 2009 at 9:41
[deleted comment]
The RMProjection does the wrapping, but the contents never check when wrapping
occurs.
The three move functions in RMMapContents are:
- (void)moveToLatLong: (CLLocationCoordinate2D)latlong
{
RMXYPoint aPoint = [projection latLongToPoint:latlong];
[self moveToXYPoint: aPoint];
}
- (void)moveToXYPoint: (RMXYPoint)aPoint
{
[mercatorToScreenProjection setXYCenter:aPoint];
[overlay correctPositionOfAllSublayers];
[tileLoader reload];
[renderer setNeedsDisplay];
}
- (void)moveBy: (CGSize) delta
{
[mercatorToScreenProjection moveScreenBy:delta];
[imagesOnScreen moveBy:delta];
[tileLoader moveBy:delta];
[overlay moveBy:delta];
[renderer setNeedsDisplay];
}
I'm unsure why moveToXYPoint has a correctPositionOfAllSublayers but moveBy
doesn't.
Original comment by Quazie
on 6 Mar 2009 at 4:38
Original comment by halmuel...@gmail.com
on 6 Mar 2009 at 6:00
Incorrect results from RMMercatorToScreenProjection's projectXYPoint:withScale:
method are the
root cause of Issue 20, Issue 43, Issue 54, Issue 103.
Original comment by halmuel...@gmail.com
on 7 Apr 2009 at 10:59
Fixed in r621
Original comment by dbainbri...@gmail.com
on 15 Apr 2010 at 3:09
Original issue reported on code.google.com by
jose...@gmail.com
on 20 Nov 2008 at 2:43