Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZhiJi-Overseas
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
ZhiJi-Overseas
Commits
77fa31a4
Commit
77fa31a4
authored
Jul 26, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ded8db1f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
ZhiJi.xcscheme
ZhiJi.xcodeproj/xcshareddata/xcschemes/ZhiJi.xcscheme
+2
-2
ZJBaseMapViewController.m
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
+2
-2
ZJFriendTrackMapViewController.m
...i/Classes/Map/Controller/ZJFriendTrackMapViewController.m
+3
-3
ZJLocationManager.m
ZhiJi/Classes/Tools/UserInfoManager/ZJLocationManager.m
+2
-2
No files found.
ZhiJi.xcodeproj/xcshareddata/xcschemes/ZhiJi.xcscheme
View file @
77fa31a4
...
...
@@ -39,7 +39,7 @@
ignoresPersistentStateOnLaunch =
"NO"
debugDocumentVersioning =
"YES"
debugServiceExtension =
"internal"
allowLocationSimulation =
"
NO
"
>
allowLocationSimulation =
"
YES
"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
<BuildableReference
...
...
@@ -51,7 +51,7 @@
</BuildableReference>
</BuildableProductRunnable>
<LocationScenarioReference
identifier =
"
New York, NY, USA
"
identifier =
"
com.apple.dt.IDEFoundation.CurrentLocationScenarioIdentifier
"
referenceType =
"1"
>
</LocationScenarioReference>
</LaunchAction>
...
...
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
View file @
77fa31a4
...
...
@@ -110,7 +110,7 @@
[
self
setPoint
:
camera
.
target
target
:
1
];
//
self.GDMapView = [[MAMapView alloc] initWithFrame:self.view.bounds];
self
.
GDMapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
_GDMapView
.
delegate
=
self
;
_GDMapView
.
zoomLevel
=
14
;
_GDMapView
.
showsScale
=
false
;
...
...
@@ -127,7 +127,7 @@
_GDMapView
.
mapLanguage
=
@1
;
[
_GDMapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
1
)];
}
//
[self.view addSubview: _GDMapView];
[
self
.
view
addSubview
:
_GDMapView
];
_GDMapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
_GDMapView
.
hidden
=
YES
;
...
...
ZhiJi/Classes/Map/Controller/ZJFriendTrackMapViewController.m
View file @
77fa31a4
...
...
@@ -189,7 +189,7 @@
_GGMapView
.
hidden
=
YES
;
//
self.GDMapView = [[MAMapView alloc] initWithFrame:self.view.bounds];
self
.
GDMapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
_GDMapView
.
delegate
=
self
;
_GDMapView
.
zoomLevel
=
14
;
_GDMapView
.
showsScale
=
false
;
...
...
@@ -206,7 +206,7 @@
_GDMapView
.
mapLanguage
=
@1
;
[
_GDMapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
1
)];
}
//
[self.view addSubview: _GDMapView];
[
self
.
view
addSubview
:
_GDMapView
];
_GDMapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
_GDMapView
.
hidden
=
YES
;
...
...
@@ -708,7 +708,7 @@
self
.
tttCount
=
0
;
// 4.0/self.initiallinepath.count
_ttt
=
[
NSTimer
scheduledTimerWithTimeInterval
:
0
.
15
target
:
self
selector
:
@selector
(
animate
)
userInfo
:
nil
repeats
:
YES
];
_ttt
=
[
NSTimer
scheduledTimerWithTimeInterval
:
4
.
0
/
self
.
initiallinepath
.
count
target
:
self
selector
:
@selector
(
animate
)
userInfo
:
nil
repeats
:
YES
];
[[
NSRunLoop
currentRunLoop
]
addTimer
:
_ttt
forMode
:
NSRunLoopCommonModes
];
}
...
...
ZhiJi/Classes/Tools/UserInfoManager/ZJLocationManager.m
View file @
77fa31a4
...
...
@@ -169,8 +169,8 @@ static ZJLocationManager * manager;
BOOL
isChina
=
NO
;
isChina
=
[
placemark
.
ISOcountryCode
isEqualToString
:
@"CN"
];
//
_mapType = isChina ? ZJ_MAMapType : ZJ_GMSMapType;
_mapType
=
ZJ_GMSMapType
;
_mapType
=
isChina
?
ZJ_MAMapType
:
ZJ_GMSMapType
;
//
_mapType = ZJ_GMSMapType;
[
self
.
data
WirteDic
:
@
(
_mapType
)
Key
:
@"mapType"
];
[
self
.
data
WirteDic
:
@
(
coord
.
latitude
)
Key
:
@"latitude"
];
[
self
.
data
WirteDic
:
@
(
coord
.
longitude
)
Key
:
@"longitude"
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment