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
Foobaz
2010-07-16 23:22:30 +0000
Commit
af5f38b06c2c868e353df0643fd43b47e34257a0
1 parent
7effc5c8
Fix crash & compiler warnings, enable rotation on RMMarker.
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
MapView/Map/RMMapView.h
MapView/Map/RMMapView.m
MapView/Map/RMMarker.m
MapView/Map/RMTileLoader.m
MapView/Map/RMMapView.h
View file @
af5f38b
...
...
@@ -185,6 +185,6 @@ typedef struct {
-
(
void
)
didReceiveMemoryWarning
;
-
(
void
)
setRotation
:(
f
loat
)
angle
;
-
(
void
)
setRotation
:(
CGF
loat
)
angle
;
@end
...
...
MapView/Map/RMMapView.m
View file @
af5f38b
...
...
@@ -597,7 +597,7 @@
}
}
-
(
void
)
setRotation
:
(
f
loat
)
angle
-
(
void
)
setRotation
:
(
CGF
loat
)
angle
{
if
(
_delegateHasBeforeMapRotate
)
[
delegate
beforeMapRotate
:
self
fromAngle
:
rotation
];
...
...
MapView/Map/RMMarker.m
View file @
af5f38b
...
...
@@ -54,7 +54,7 @@
textForegroundColor
=
[
UIColor
blackColor
];
textBackgroundColor
=
[
UIColor
clearColor
];
enableDragging
=
YES
;
enableRotation
=
NO
;
enableRotation
=
YES
;
}
return
self
;
}
...
...
MapView/Map/RMTileLoader.m
View file @
af5f38b
...
...
@@ -65,6 +65,7 @@
-
(
void
)
dealloc
{
[[
NSNotificationCenter
defaultCenter
]
removeObserver
:
self
];
[
super
dealloc
];
}
...
...
Please
register
or
login
to post a comment