Toggle navigation
Toggle navigation
This project
Loading...
Sign in
尹诚
/
Mapbox-iOS-SDK
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Thomas Rasch
2012-01-24 18:43:12 +0100
Commit
82bc300a6b634016c50e4d8694c500a099ff6bdd
1 parent
8efd47aa
o No clue why I had tiledLayer.levelsOfDetailBias = maxZoom+1, but it breaks zoo…
…ming on retina displays
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
MapView/Map/RMMapTiledLayerView.m
MapView/Map/RMMapTiledLayerView.m
View file @
82bc300
...
...
@@ -45,7 +45,7 @@
CATiledLayer
*
tiledLayer
=
[
self
tiledLayer
];
tiledLayer
.
levelsOfDetail
=
[[
mapView
tileSource
]
maxZoom
];
tiledLayer
.
levelsOfDetailBias
=
[[
mapView
tileSource
]
maxZoom
]
+
1
;
tiledLayer
.
levelsOfDetailBias
=
[[
mapView
tileSource
]
maxZoom
];
UITapGestureRecognizer
*
doubleTapRecognizer
=
[[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
handleDoubleTap
:)]
autorelease
];
doubleTapRecognizer
.
numberOfTapsRequired
=
2
;
...
...
Please
register
or
login
to post a comment