imobile_for_reactnative
Version:
iMobile for ReactNative,是SuperMap iMobile推出的一款基于React-Native框架的移动应用开发工具。基于该开发工具,用户可以使用JavaScript开发语言,开发出在Android和IOS操作系统下运行的原生移动GIS应用,入门门槛低,一次开发,处处运行。
138 lines (118 loc) • 7.1 kB
text/typescript
export default {
INVALID_MODULE: 'com.supermap.itablet.invalid_module',
INVALID_LICENSE: 'com.supermap.itablet.invalid_license',
PRIVATE_LICENSE_CLOSE: 'com.supermap.itablet.private_license_close',
EDUCATION_LICENSE_CONNECT: 'com.supermap.itablet.education_license_connect',
/** 采集 **/
COLLECTION_CHANGE: 'com.supermap.RN.Mapcontrol.collection_change',
COLLECTION_SENSER_CHANGE: 'com.supermap.RN.Mapcontrol.collection_sensor_change',
/** 多媒体采集 **/
MEDIA_CAPTURE: 'com.supermap.RN.MediaCapture',
MEDIA_CAPTURE_TAP_ACTION: 'com.supermap.RN.MediaCaptureTapAction',
/** 协作callout **/
USER_MESSAGE_CALLOUT_TAP: 'com.supermap.RN.MessageCalloutTap',
/** 在线服务 **/
ONLINE_SERVICE_LOGIN: 'com.supermap.RN.Mapcontrol.online_service_login',
ONLINE_SERVICE_LOGOUT: 'com.supermap.RN.Mapcontrol.online_service_logout',
ONLINE_SERVICE_DOWNLOADING: 'com.supermap.RN.Mapcontrol.online_service_downloading',
ONLINE_SERVICE_DOWNLOADED: 'com.supermap.RN.Mapcontrol.online_service_downloaded',
ONLINE_SERVICE_DOWNLOADFAILURE: 'com.supermap.RN.Mapcontrol.online_service_downloadfailure',
ONLINE_SERVICE_UPLOADING: 'com.supermap.RN.Mapcontrol.online_service_uploading',
ONLINE_SERVICE_UPLOADED: 'com.supermap.RN.Mapcontrol.online_service_uploaded',
ONLINE_SERVICE_UPLOADFAILURE: 'com.supermap.RN.Mapcontrol.online_service_uploadfailure',
ONLINE_SERVICE_REVERSEGEOCODING: 'com.supermap.RN.Mapcontrol.online_service_reversegeocoding',
IPORTAL_SERVICE_UPLOADING: 'com.supermap.RN.iPortalService_uploading',
IPORTAL_SERVICE_UPLOADED: 'com.supermap.RN.iPortalService_uploaded',
IPORTAL_SERVICE_DOWNLOADING: 'com.supermap.RN.iPortalService_downloading',
/** 消息服务 **/
MESSAGE_SERVICE_RECEIVE:'com.supermap.RN.Mapcontrol.message_service_receive',
/** 文件服务 **/
MESSAGE_SERVICE_SEND_FILE: 'com.supermap.RN.MessageService.send_file_progress',
MESSAGE_SERVICE_RECEIVE_FILE: 'com.supermap.RN.MessageService.receive_file_progress',
/** 数据服务 **/
ONLINE_DATA_SERVICE_DOWNLOAD: 'com.supermap.RN.Mapcontrol.online_data_service_download',
ONLINE_DATA_SERVICE_UPDATE: 'com.supermap.RN.Mapcontrol.online_data_service_update',
ONLINE_DATA_SERVICE_UPLOAD: 'com.supermap.RN.Mapcontrol.online_data_service_upload',
//下载数据回调
DATA_DOWNLOADING: "com.supermap.RN.Mapcontrol.data_downloading",
DATA_DOWNLOADED: "com.supermap.RN.Mapcontrol.data_downloaded",
DATA_DOWNLOADFAILURE: "com.supermap.RN.Mapcontrol.data_downloadfailure",
/** 量算 **/
MEASURE_LENGTH: 'com.supermap.RN.Mapcontrol.length_measured',
MEASURE_AREA: 'com.supermap.RN.Mapcontrol.area_measured',
MEASURE_ANGLE: 'com.supermap.RN.Mapcontrol.angle_measured',
/** 地图 **/
MAP_LONG_PRESS: 'com.supermap.RN.Mapcontrol.long_press_event',
MAP_SINGLE_TAP: 'com.supermap.RN.Mapcontrol.single_tap_event',
MAP_DOUBLE_TAP: 'com.supermap.RN.Mapcontrol.double_tap_event',
MAP_TOUCH_BEGAN: 'com.supermap.RN.Mapcontrol.touch_began_event',
MAP_TOUCH_END: 'com.supermap.RN.Mapcontrol.touch_end_event',
MAP_SCROLL: 'com.supermap.RN.Mapcontrol.scroll_event',
MAP_SINGLE_TAP_TWO: 'com.supermap.RN.Mapcontrol.single_tap_event_two',
MAP_LONG_PRESS_MAGN: 'com.supermap.RN.Mapcontrol.long_press_magn_event',
POINTSEARCH2D_KEYWORDS: 'com.supermap.RN.MapControl.PointSearch2D_keyWords',
MAP_LEGEND_CONTENT_CHANGE:'com.supermap.RN.Map.Legend.legend_content_change',
MAP_SCALEVIEW_CHANGE:'com.supermap.RN.Map.ScaleView.scaleView_change',
MAP_GEOMETRY_MULTI_SELECTED: 'com.supermap.RN.Mapcontrol.geometry_multi_selected',
MAP_GEOMETRY_SELECTED: 'com.supermap.RN.Mapcontrol.geometry_selected',
MAP_GEOMETRY_ADD: 'com.supermap.RN.Mapcontrol.geometry_add',
MAP_SCALE_CHANGED: 'Supermap.MapControl.MapParamChanged.ScaleChanged',
MAP_BOUNDS_CHANGED: 'Supermap.MapControl.MapParamChanged.BoundsChanged',
MAP_GEOMETRY_CHANGE: "Supermap.MapControl.MapGEOMETRY.CHANGE",
/** 三维模块 */
SCENE_TRACKING_EVENT: 'com.supermap.RN.SMSceneControl.trackingEvent',
SCENE_GESTURE_SINGLE_TAP: 'com.supermap.RN.SMSceneControl.singleTap',
SCENE_GESTURE_LONG_PRESS: 'com.supermap.RN.SMSceneControl.longPress',
SCENE_SELECT_FEATURE3D: 'com.supermap.RN.SMSceneControl.select_feature3d',
/** 三维AR模块**/
IMAGE_TRACK: 'ImageTrackingCallback',
/** 在线分析 **/
ONLINE_ANALYST_RESULT: 'com.supermap.RN.online_analyst_result',
/** 导航路线 **/
NAVIGATION_START: 'com.supermap.RN.Navigation.start',
NAVIGATION_STOP: 'com.supermap.RN.Navigation.stop',
NAVIGATION_ARRIVE: 'com.supermap.RN.Navigation.arrive',
NAVIGATION_INDOOR_START: 'com.supermap.RN.Navigation.indoor.start',
NAVIGATION_INDOOR_STOP: 'com.supermap.RN.Navigation.indoor.stop',
NAVIGATION_INDOOR_ARRIVE: 'com.supermap.RN.Navigation.indoor.arrive',
INDUSTRYNAVIAGTION:'com.supermap.RN.Navigation.industry_navigation',
STOPNAVIAGTION:'com.supermap.RN.Navigation.stop_navigation',
MAPSELECTPOINTNAMESTART:'com.supermap.RN.Navigation.mapselectpointnamestart',
MAPSELECTPOINTNAMEEND:'com.supermap.RN.Navigation.mapselectpointnameend',
ILLEGALLYPARK:'com.supermap.RN.Navigation.illegallypark',
CURRENT_FLOORID:'com.supermap.RN.Navigation.floorid',
/** 室外路网构网监听 **/
BUILD_SUCCESS:'com.supermap.RN.Navigation.build_network_success',
/** 室内地图 楼层控件是否隐藏 **/
IS_FLOOR_HIDDEN:'com.supermap.RN.FloorListView.isFloorHidden',
/** AI配图监听 **/
MATCH_IMAGE_RESULT: 'com.supermap.RN.match_image_result',
/** 语音 **/
RECOGNIZE_BEGIN: 'com.supermap.RN.speech.recognize.begin',
RECOGNIZE_END: 'com.supermap.RN.speech.recognize.end',
RECOGNIZE_ERROR: 'com.supermap.RN.speech.recognize.error',
RECOGNIZE_RESULT: 'com.supermap.RN.speech.recognize.result',
RECOGNIZE_VOLUME_CHANGED: 'com.supermap.RN.speech.recognize.volume_changed',
RECOGNIZE_EVENT: 'com.supermap.RN.speech.recognize.event',
/** 定位 **/
LOCATION_SEARCH_DEVICE: 'com.supermap.RN.location.device',
LOCATION_COMPASS: 'com.supermap.RN.location.compass',
LOCATION_BT_SCAN_RESULT: 'com.supermap.RN.location.device.BTScan',
/** 蓝牙状态变化 */
BLUETOOTH_STATE_CHANGE: "com.supermap.RN.bluetooth.state_change",
/** 切换设备成功 */
LOCATION_CHANGE_DEVICE_SUCCESS: 'com.supermap.RN.location.device.location_state',
LOCATION_NMEA_SENTENCE: 'com.supermap.RN.location.nmea.sentence',
LOCATION_NMEA_GGA: 'com.supermap.RN.location.nmea.gga',
LOCATION_NMEA_RMC: 'com.supermap.RN.location.nmea.rmc',
LOCATION_LOCAL_DEVICE_LOCATION_INFO:'com.supermap.RN.location.local_device_Info',
LOCATION_RTK_CALIBRATION:'com.supermap.RN.location.rtk_calibration',
/** AR测量模块**/
MEASUREAREA_ADD_POINT: 'com.supermap.RN.SMeasureAreaView.ADD_POINT',
MEASUREAREA_ADD: 'com.supermap.RN.SMeasureAreaView.ADD',
MEASUREAREA_DIOLOG: 'com.supermap.RN.SMeasureAreaView.DIOLOG',
ARMEASURE_HEIGHT_CHANGE: 'com.supermap.RN.armeasure.height_change',
/** AR地图 */
ARMAP_3DLAYER_SELECT: 'com.supermap.RN.armap.3dlayer_select',
AI_CAR_PLATE_READ: 'com.supermap.RN.ai.carPlate',
}