CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

New area

Author 戴威强Updated 2024-12-24 17:55:22Doc ID 1389258 words · 1 min readView original ↗

Interface description

Add point, surface, line and other electronic fence data.

Request Example

https://v7.cmsv8.com/MapMarkerAction_addMark.action?jsession=66d754dd7f41473dbd2&name=make1&jingDu=23.576482&weiDu=103.946432&mapType=3&markerType=10&radius=3&color=FF0000&share=0&type=2

Request parameters

Parameter name Parameter type Whether it is required Example Parameter meaning
jsession string Yes 66d754dd7f41473dbd2 Session number
name string Yes make1 Zone tag name
jingDu string Yes 23.576482 Longitude coordinates (guaranteed to match the number of latitudes, in order to form coordinates)
weiDu string Yes 103.946432 Latitude Coordinates (guaranteed to match the number of latitudes and form coordinates in order)
mapType number Yes 3 coordinate map type [1 Google map 3 Baidu map 4 Gaud map 7 Baidu offline 8 Google offline 9 bing map 10 osm tile 11 Google tile]
markerType number Yes 10 area marker type [1; point 2; rectangle 3; polygon 4; route 10; circle]
radius number Yes 3 area mark radius [mark type is 10; When a circle passes the parameter radius (unit m), otherwise it can pass 0]
color string Yes FF0000 Area fill color (hexadecimal color code)
share number yes 0 0 does not share 1 group share 2 global share
type number Yes 2 2 village 3 factory 4 construction site 5 warehouse 6 wharf 7 logistics park 8 toll station 9 tracking point 10 work area 11 inspection area 12 other 13 consumption yard 14 dangerous road section
remark string No None Description

Return parameters

parameter name parameter type parameter meaning
result number interface status code, 0 is normal, others are abnormal (for details, see [error code description](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1 "error code description")
markId number
area tag ID

Return Example

{
"result": 0
"markId": "1000062"
}
Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com