摘要: 针对MapImageLayer 的封装demo 案例 MapImageLayerCtrl ```javascriptimport React, {useEffect, useState} from 'react';import {Clipboard, ScrollView, StyleSheet, 阅读全文
posted @ 2022-04-26 15:03 haibalai 阅读(89) 评论(0) 推荐(0) 编辑
摘要: arcgis android sdk 是需要授权才能使用, 授权文件licenseConfig.json, 放到react native assets 目中,如果不使用一些高级功能,基本授权也够用了 { "LicenseKey": { "MainKey": "runtimelite,1000,rud 阅读全文
posted @ 2022-04-26 15:02 haibalai 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 对于地图调用 import { MapView } from '@haibalai/react-native-arcgis'; class MainMapView extends React.Component<any, any, any> { render() { return ( <View s 阅读全文
posted @ 2022-04-26 15:02 haibalai 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 针对图层管理LayerManager 比如之前的 { "LayerId": "要素图层", "LayerType": "MapImageLayer", "ServerAddr": "https://sampleserver6.arcgisonline.com/arcgis/rest/services 阅读全文
posted @ 2022-04-26 15:02 haibalai 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 针对图层配置VectorTiledLayer { "LayerId": "矢量切片", "LayerType": "VectorTiledLayer", "ServerAddr": "https://basemaps.arcgis.com/arcgis/rest/services/World_Bas 阅读全文
posted @ 2022-04-26 15:01 haibalai 阅读(57) 评论(0) 推荐(0) 编辑