| 1234567891011121314151617181920212223242526272829303132 |
- import {
- Platform,
- } from 'react-native';
- let Global = {
- airspaceType: {
- circle: 1,
- line: 2,
- polygon: 3
- },
- pointTypes: {
- nav: 1, // 导航点
- line: 2, // 航线
- point: 3 // 普通航路点
- }
- }
- Global.amapLineWidth = 3;
- Global.amapStrokeColor = Platform.select({
- ios: () => 0x58A8F5,
- android: () => "#58A8F5"
- })();
- Global.amapFillColor = Platform.select({
- ios: () => 0xF4F9FC66,
- android: () => "#1158A8F5" //ARGB in Android
- })();
- module.exports = Global;
|