We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Congratulations for your code.
I would lik to apply 2.5D effect (birdview) to the map (see code below) with quartz core lib.
It works fine with ios6 mapview but not when i add TileOverlay.
Any idea why?
CATransform3D perspectiveTransform = CATransform3DIdentity;
CGFloat m34; CGFloat rotation; CGFloat scale;
m34 = 1.0 / -1400; rotation = 60.0f; scale = 1.6;
perspectiveTransform.m34 = m34; perspectiveTransform = CATransform3DRotate(perspectiveTransform, rotation * M_PI / 180.0f, 1.0f, 0.0f, 0.0f);
CATransform3D scaleTransform = CATransform3DMakeScale (scale, scale, 1.0); CATransform3D combinedTransform = CATransform3DConcat(perspectiveTransform, scaleTransform);
mapView.layer.transform = combinedTransform;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Congratulations for your code.
I would lik to apply 2.5D effect (birdview) to the map (see code below) with quartz core lib.
It works fine with ios6 mapview but not when i add TileOverlay.
Any idea why?
CATransform3D perspectiveTransform = CATransform3DIdentity;
CGFloat m34;
CGFloat rotation;
CGFloat scale;
m34 = 1.0 / -1400;
rotation = 60.0f;
scale = 1.6;
perspectiveTransform.m34 = m34;
perspectiveTransform = CATransform3DRotate(perspectiveTransform, rotation * M_PI / 180.0f, 1.0f, 0.0f, 0.0f);
CATransform3D scaleTransform = CATransform3DMakeScale (scale, scale, 1.0);
CATransform3D combinedTransform = CATransform3DConcat(perspectiveTransform, scaleTransform);
mapView.layer.transform = combinedTransform;
The text was updated successfully, but these errors were encountered: