Loading...

route-me-map@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [route-me] Re: moveToLatLong problem, re-open issue 18 ? Vladimir Vyskocil Sun Jan 30 08:00:06 2011

I think this issue is located in updateLoadedImages method of RMTileLoader 
class, something must be wrong with the calculated bounds when there is some 
overlap... 

Vlad.

On 17 janv. 2011, at 04:50, Walker Chen wrote:

> moveToLatLong cause map tiles display incorrectly had been observed
> frequently by me. The pattern to reproduce the issue seems to be:
> 
> 1) Network speed should not be too fast (EDGE or 1Mb ADSL).
> 2) When tiles of current screen were being loaded and at the same
> time, moveToLatLong triggered, some tiles on current screen will
> remain at the same position and overlapped on the next screen. The
> tiles seems to be those being loaded while moveToLatLong triggered.
> 3) The replacement should be small
> 4) There are 2 ways to reproduce the issue,
>   one) fast drag map and stop dragging
>   two) on onLocationUpdate()
> 
> static int count =0;
> 
> onLocationUpdate()
> {
>   if( count % 5 == 4 )
>   {
>      moveToLatLong // to new location
>   }
> }
> 
> If you are luck, you can see the old tiles of last screen remains on
> the current screen. I clear on screen tiles before moveToLatLong and
> the issue gone, but the side effect is that, when follow GPS location
> activated and moveToLatLong triggered every time once new location
> updated, screen cleared and begin to download tiles of new screen, but
> new location updated again and moveToLatLong triggered and clear all
> tiles again, thus screen remains blank because download speed not fast
> enough to download whole screen tiles before next moveToLatLong clear
> all tiles.
> 
> I had tested my customized offline mapsource using same fix and issue
> gone.
> 
> The fix code:
> 
> // before moveToLatLong
> RMTileImageSet *images = [mapView.contents imagesOnScreen];
> [images removeAllTiles];
> 
> 
> On Jan 15, 7:29 am, Michael Tyson <[EMAIL PROTECTED]> wrote:
>> Okay, I'm having trouble reproducing this issue!
>> 
>> I've opened up the SimpleMap project, added the following to the end of 
>> viewDidLoad:
>> 
>> CLLocationCoordinate2D newLocation;
>> newLocation.latitude = -33.9495;
>> newLocation.longitude = 151.2381;
>> [[mapView contents] moveToLatLong:newLocation];
>> 
>> I expect to see the marker incorrectly positioned, and the tiles not being 
>> displayed properly, but everything looks perfect to me - panning is fine, 
>> and I can pan north-east to see the marker in the correct location.
>> 
>> I tried it in the Simulator on 4.2.
>> 
>> Can anyone provide another example of how this bug occurs?
>> 
>> Cheers!
>> Michael
>> 
>> On 25 Nov 2010, at 03:52, loïc wrote:
>> 
>>> I'm afraid that we have a regression in trunk, the issue 18 seems to
>>> reappear :
>> 
>>> http://code.google.com/p/route-me/issues/detail?id=18
>> 
>>> Someone have this problem too ? (bug only with short jump as described
>>> by Joe 
>>> :http://groups.google.com/group/route-me-map/browse_thread/thread/57eb...
>>> )
>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "route-me" group.
>>> To post to this group, send email to [EMAIL PROTECTED]
>>> To unsubscribe from this group, send email to [EMAIL PROTECTED]
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/route-me-map?hl=en.
>> 
>> --
>> Michael Tyson | atastypixel.com
>> A Tasty Pixel: Delectable apps for iPhone and Mac
>> 
>> The Cartographer: Gloriously rich, intuitive Google My Maps viewing and 
>> editing, on an app that evokes a time when maps were works of art.
>> 
>> The Cartographer is a finalist for Best iPhone Travel App for the 2010 Best 
>> App Ever Awards!
>> Vote for us here!
>> 
>> Subscribe to our newsletter
>> 
>> e: [EMAIL PROTECTED]
>> aim: mikerusselltyson
>> twitter: MichaelTyson
>> 
>>  smime.p7s
>> 6KViewDownload
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "route-me" group.
> To post to this group, send email to [EMAIL PROTECTED]
> To unsubscribe from this group, send email to [EMAIL PROTECTED]
> For more options, visit this group at 
> http://groups.google.com/group/route-me-map?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"route-me" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/route-me-map?hl=en.