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
Obrand69
2008-12-19 21:22:18 +0000
Commit
868e979bbdeb7374ea7b3af3df7ec2b99f826d1c
1 parent
634834e7
Fixed bug in center coordinates
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
MapView/Map/RMMapView.m
MapView/Map/RMMapView.m
View file @
868e979
...
...
@@ -444,7 +444,8 @@
-
(
CLLocationCoordinate2D
)
centerCoordinates
{
return
[
contents
pixelToLatLong
:[
self
frame
].
origin
];
CGPoint
point
=
CGPointMake
([
self
frame
].
size
.
width
/
2
,
[
self
frame
].
size
.
height
/
2
);
return
[
contents
pixelToLatLong
:
point
];
}
...
...
Please
register
or
login
to post a comment