Skip to content

Commit

Permalink
Update const.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdeyiyicifang authored Feb 4, 2023
1 parent 161facb commit 376bc5b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/utils/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ const MUNICIPALITY_CITIES_ARR = [
'香港特别行政区',
'澳门特别行政区',
];
const MAP_LAYER_LIST=['road-label', 'waterway-label', 'natural-line-label',
'natural-point-label', 'water-line-label', 'water-point-label',
'poi-label', 'airport-label', 'settlement-subdivision-label',
'settlement-label', 'state-label', 'country-label',
];

// styling: set to `true` if you want dash-line route
const USE_DASH_LINE = true;
// styling: route line opacity: [0, 1]
const LINE_OPACITY = 0.4;
// styling: map height
const MAP_HEIGHT = 600;
//set to `false` if you want to hide the road label characters
const ROAD_LABEL_DISPLAY = true;

// IF you outside China please make sure IS_CHINESE = false
const IS_CHINESE = true;
Expand Down Expand Up @@ -56,7 +63,9 @@ export {
CHINESE_LOCATION_INFO_MESSAGE_SECOND,
MAPBOX_TOKEN,
MUNICIPALITY_CITIES_ARR,
MAP_LAYER_LIST,
IS_CHINESE,
ROAD_LABEL_DISPLAY,
INFO_MESSAGE,
RUN_TITLES,
USE_ANIMATION_FOR_GRID,
Expand Down

0 comments on commit 376bc5b

Please sign in to comment.