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
fc86d7ea
Commit
fc86d7ea
authored
Jul 24, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9a7bf36e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
ZJBaseMapViewController.m
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
+2
-2
ZJFriendTrackMapViewController.m
...i/Classes/Map/Controller/ZJFriendTrackMapViewController.m
+4
-3
TQNetworkTools.m
ZhiJi/Classes/Tools/Network/TQNetworkTools.m
+8
-6
No files found.
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
View file @
fc86d7ea
...
@@ -64,8 +64,8 @@
...
@@ -64,8 +64,8 @@
self
.
mapType
=
mapType
;
self
.
mapType
=
mapType
;
if
(
!
self
.
friendTrack
){
if
(
!
self
.
friendTrack
){
CLLocationCoordinate2D
coord
=
CLLocationCoordinate2DMake
(
location
.
coordinate
.
latitude
,
location
.
coordinate
.
longitude
);
CLLocationCoordinate2D
coord
=
CLLocationCoordinate2DMake
(
model
.
latitude
,
model
.
longitude
);
self
.
GGMapView
.
camera
=
[
GMSCameraPosition
cameraWithTarget
:
coord
zoom
:
self
.
zoom
];
//
self.GGMapView.camera = [GMSCameraPosition cameraWithTarget:coord zoom:self.zoom];
[
self
setPoint
:
coord
target
:
1
];
[
self
setPoint
:
coord
target
:
1
];
}
}
}];
}];
...
...
ZhiJi/Classes/Map/Controller/ZJFriendTrackMapViewController.m
View file @
fc86d7ea
...
@@ -105,8 +105,8 @@
...
@@ -105,8 +105,8 @@
self
.
mapType
=
mapType
;
self
.
mapType
=
mapType
;
if
(
self
.
isMyTrack
){
if
(
self
.
isMyTrack
){
CLLocationCoordinate2D
coord
=
CLLocationCoordinate2DMake
(
location
.
coordinate
.
latitude
,
location
.
coordinate
.
longitude
);
CLLocationCoordinate2D
coord
=
CLLocationCoordinate2DMake
(
model
.
latitude
,
model
.
longitude
);
self
.
GGMapView
.
camera
=
[
GMSCameraPosition
cameraWithTarget
:
coord
zoom
:
self
.
zoom
];
//
self.GGMapView.camera = [GMSCameraPosition cameraWithTarget:coord zoom:self.zoom];
[
self
setPoint
:
coord
target
:
1
];
[
self
setPoint
:
coord
target
:
1
];
}
}
}];
}];
...
@@ -706,7 +706,8 @@
...
@@ -706,7 +706,8 @@
[
self
.
GGMapView
animateToZoom
:
_animationZoom
];
[
self
.
GGMapView
animateToZoom
:
_animationZoom
];
self
.
tttCount
=
0
;
self
.
tttCount
=
0
;
_ttt
=
[
NSTimer
scheduledTimerWithTimeInterval
:
0
.
25
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
];
[[
NSRunLoop
currentRunLoop
]
addTimer
:
_ttt
forMode
:
NSRunLoopCommonModes
];
}
}
...
...
ZhiJi/Classes/Tools/Network/TQNetworkTools.m
View file @
fc86d7ea
...
@@ -213,8 +213,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -213,8 +213,8 @@ static TQNetworkTools* _tools = nil;
// [dict setValue: @"1" forKey: @"tgtk"];
// [dict setValue: @"1" forKey: @"tgtk"];
// 获取BundleID
// 获取BundleID
//
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey: @"pkg"];
[
dict
setValue
:
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleIdentifier"
]
forKey
:
@"pkg"
];
[
dict
setValue
:
@"com.ishinapp.familymapp"
forKey
:
@"pkg"
];
//
[dict setValue: @"com.ishinapp.familymapp" forKey: @"pkg"];
// [dict setValue: @"com.app.zhiji" forKey: @"pkg"]; //cs
// [dict setValue: @"com.app.zhiji" forKey: @"pkg"]; //cs
NSString
*
identifierForVendor
=
[[
data
Read
]
objectForKey
:
@"Identifier"
];;
NSString
*
identifierForVendor
=
[[
data
Read
]
objectForKey
:
@"Identifier"
];;
...
@@ -231,7 +231,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -231,7 +231,8 @@ static TQNetworkTools* _tools = nil;
// }
// }
//appLs
//appLs
[
dict
setValue
:
@"040087e60c36fd63"
forKey
:
@"appLs"
];
[
dict
setValue
:
@"5530c00800d41060"
forKey
:
@"appLs"
];
// [dict setValue: @"040087e60c36fd63" forKey: @"appLs"];
// [dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"]; //cs
// [dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"]; //cs
// 设置网络类型
// 设置网络类型
...
@@ -557,8 +558,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -557,8 +558,8 @@ static TQNetworkTools* _tools = nil;
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
[
dict
setValue
:
identifierForVendor
forKey
:
@"device"
];
NSLog
(
@"identifierForVendor info == %@"
,
identifierForVendor
);
NSLog
(
@"identifierForVendor info == %@"
,
identifierForVendor
);
// 获取BundleID
// 获取BundleID
//
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey: @"pkg"];
[
dict
setValue
:
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleIdentifier"
]
forKey
:
@"pkg"
];
[
dict
setValue
:
@"com.ishinapp.familymapp"
forKey
:
@"pkg"
];
//
[dict setValue: @"com.ishinapp.familymapp" forKey: @"pkg"];
// [dict setValue: @"com.app.zhiji" forKey: @"pkg"];
// [dict setValue: @"com.app.zhiji" forKey: @"pkg"];
// 设置时间戳
// 设置时间戳
...
@@ -571,7 +572,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -571,7 +572,8 @@ static TQNetworkTools* _tools = nil;
// }
// }
//appLs
//appLs
[
dict
setValue
:
@"040087e60c36fd63"
forKey
:
@"appLs"
];
[
dict
setValue
:
@"5530c00800d41060"
forKey
:
@"appLs"
];
// [dict setValue: @"040087e60c36fd63" forKey: @"appLs"]; family mapp
// [dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"];
// [dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"];
[
dict
addEntriesFromDictionary
:[
self
signParams
:
dict
]];
[
dict
addEntriesFromDictionary
:[
self
signParams
:
dict
]];
...
...
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