Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with two maps #156

Open
GoogleCodeExporter opened this issue Apr 18, 2016 · 6 comments
Open

problem with two maps #156

GoogleCodeExporter opened this issue Apr 18, 2016 · 6 comments

Comments

@GoogleCodeExporter
Copy link

i have two objects of class RMMapView 
       1 - is a openstreet mapView 
       2 - is satellite    mapSat
 and i make this : 
           when i change map type for Satellite:
      method one:
         [self.mapView removeFromSuperview];
         ,,,
         [self.view addSubview:self.mapSat]; 

and for openstreetmap
  method two:
          [self.mapSat removeFromSuperview];
          [self.view addSubview:self.mapView]; 

when map is zooming sometime  one of tiles is another map type

screenshot http://clip2net.com/page/m60097/8929056

how i can resolve this problem ?


Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 1:24

@GoogleCodeExporter
Copy link
Author

the problem resolved

Original comment by [email protected] on 11 Nov 2010 at 11:20

@GoogleCodeExporter
Copy link
Author

I have same problem.
I haven't yet solved this problem, but the problem will be caused by db cache.
I haven't met the problem at route-me with only memory cache.

Original comment by [email protected] on 16 Nov 2010 at 4:48

@GoogleCodeExporter
Copy link
Author

Hi snggrey, I haven't solve this problem. Could you tell me how could you 
resolve this problem?

Original comment by [email protected] on 23 Nov 2010 at 8:53

@GoogleCodeExporter
Copy link
Author

hey                               
use method       [self.mapView.contents setTileSource: newTileSouce  ];
                             [self.mapView setNeedsDisplay];
                         [self.mapView setNeedsLayout];

Original comment by [email protected] on 3 Dec 2010 at 12:06

@GoogleCodeExporter
Copy link
Author

thanks for your replay.

You mean you use only one mapView object and set another tileSource on changing 
mapType?


Original comment by [email protected] on 14 Dec 2010 at 6:51

@GoogleCodeExporter
Copy link
Author

yes . use only one object mapView. and set another tileSource

Original comment by [email protected] on 15 Dec 2010 at 2:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant