04 2022 档案

摘要:针对MapImageLayer 的封装demo 案例 MapImageLayerCtrl ```javascriptimport React, {useEffect, useState} from 'react';import {Clipboard, ScrollView, StyleSheet, 阅读全文
posted @ 2022-04-26 15:03 haibalai 阅读(101) 评论(0) 推荐(0) 编辑
摘要:arcgis android sdk 是需要授权才能使用, 授权文件licenseConfig.json, 放到react native assets 目中,如果不使用一些高级功能,基本授权也够用了 { "LicenseKey": { "MainKey": "runtimelite,1000,rud 阅读全文
posted @ 2022-04-26 15:02 haibalai 阅读(43) 评论(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 阅读(68) 评论(0) 推荐(0) 编辑
摘要:针对图层管理LayerManager 比如之前的 { "LayerId": "要素图层", "LayerType": "MapImageLayer", "ServerAddr": "https://sampleserver6.arcgisonline.com/arcgis/rest/services 阅读全文
posted @ 2022-04-26 15:02 haibalai 阅读(41) 评论(0) 推荐(0) 编辑
摘要:针对图层配置VectorTiledLayer { "LayerId": "矢量切片", "LayerType": "VectorTiledLayer", "ServerAddr": "https://basemaps.arcgis.com/arcgis/rest/services/World_Bas 阅读全文
posted @ 2022-04-26 15:01 haibalai 阅读(64) 评论(0) 推荐(0) 编辑
摘要:本系列是基于android 封装的sdk 包 ,因为arcgis 官方移动端没有react native 和flutter的api, 为什么不直接用原生开发,因为界面绘制比较麻烦,毕竟公司资源也是前端多一些,react native 还是对前端友好些。 那么H5和RN 开发 gis 有什么太大区别呢 阅读全文
posted @ 2022-04-06 11:21 haibalai 阅读(119) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示