Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi bro what is Load , status and course can u explain in detail #5

Open
rohith231 opened this issue Aug 30, 2020 · 6 comments
Open

Comments

@rohith231
Copy link

Hi bro what is Load , status and course can u explain in detail

@arg0navt
Copy link
Owner

Course is direction, it is need for rotate icon on map. Status influence on color of track.
Example:
{ LOAD: 33, SPEED: 2, status: 1, t: "180927072508000", course: 0, lat: 53.22376666666667, lng: 50.745841666666664 }, { LOAD: 33, SPEED: 2, status: 1, t: "180927072508000", course: 0, lat: 53.22376666666667, lng: 50.745841666666664 }, { LOAD: 30, SPEED: 2.3, status: 2, t: "180927072523000", course: 114, lat: 53.223728333333334, lng: 50.74598666666667 }, { LOAD: 30, SPEED: 2.3, status: 2, t: "180927072529000", course: 138, lat: 53.223705, lng: 50.746021666666664 },

first polyline will be one color because had status 1, next polyline will be other color because has status 2. Colors can set in optionsMulty

@rohith231
Copy link
Author

What is Load
How did u implemented different lat ,lng where can we get the data of different [lat ,lng] can i know?

@arg0navt
Copy link
Owner

arg0navt commented Sep 1, 2020

@rohith231 You can ignore Load and Speed, it's example from other project (will need remove).
status = need for collor
t - need when you set progressFormat: "time"
course - need for direction. Work when you set customCourse: true and customMarker: true
lat - lat
lng - lng

@rohith231
Copy link
Author

rohith231 commented Sep 4, 2020

Hi, in the speed button how can i set the speed to 800 or 1500 max where can make the change.
What is procentDefault in ur code?

@sditcshj
Copy link

sditcshj commented Sep 7, 2020

@arg0navt Status I have (1,2,3,4,5) and I declared
optionsMulty={[
{ color: "#099345" },
{ color: "#0000ff" },
{ color: "#7d0000" },
{ color: "#000000" },
{ color: "#b1b1b1" },
]}

but the color is mismatched. instead of status 1 color, it will show some other status color. for all status, it shows different only.

@sditcshj
Copy link

@arg0navt is there any update on the above status and track color mismatched method?

and, Is there React leaflet V3 supported model will came or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants