mapbox

Distrubution Code signing Mapbox.framework failed for iOS

二次信任 提交于 2020-03-25 17:54:38
问题 I have an issue with uploading my app to the app store when signing the app. I got Code signing "Mapbox.framework" failed. I have set up the build phase as instructed here https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md. Checked the log for this and all looks ok. This is the codesign log: Copy .bcsymbolmap files to .xcarchive Stripping frameworks Stripped ./Mapbox.framework/Mapbox of architectures: i386 Code Signing ./Mapbox.framework/Mapbox with Identity iPhone

快速制作地图图表—ChartCube 地图制图工具尝鲜体验

非 Y 不嫁゛ 提交于 2020-03-03 18:17:24
ChartCube 图表魔方是:AntV 在线图表制作工具拖拽之间快速搞定图表制作工具,无论你是设计师,产品经理,还是开发都可以使用此工具配置你需要的图表效果。 本次发布在既统计图表之后,我们新增了地理空间域数据可视化支持。地图可视化组件我们采用自研开源地理可视化引擎L7研发( https://github.com/antvis/l7 )。 功能介绍 双地理底图支持 高德地图,Mapbox,多种地图样式风格 丰富地图配置项 颜色,大小,灵活配置,提供多种类型色板支持。支持数据映射,连续和分类两类度量方法。通过这些简单的配置你可也更灵活的玩转的你的数据,根据你的需求实现数据的灵活的展现。 | 图表类型 点图层: 主要表达空间上离散点的分布特征,你可以根据数据属性,设置成不同颜色,大小更直观体现不同位置之间差异。可以实现常见的散点图、气泡图等效果。 面图层: 通过为区域填充不同的颜色,来表达不同区域的数据分布差异,最常见的是以行政区划为核心的填充统计图。由于地理数据无论在数据格式和获取上对于普通用户都有一定的门槛,针对这种通用需求提供了内置常用地理数据的图表组件。 点、线、面、热力地图更多丰富的地图类型,我们会持续补充 如何使用 1.进入图表选择页,选择你需要制作的图表 https://chartcube.alipay.com/ 2.进入图表配置页 3.进入图表导出页 后续规划

Filter a Layer By a Value Contained in a Stringified JSON Array Property

时光总嘲笑我的痴心妄想 提交于 2020-03-03 05:33:10
问题 One of the tables in one of our Mapbox tilesets has a stringified JSON array property of ids: "string_ids":"[\"a\",\"b\"]" I would like to filter features using this property, but can't seem to find a way to do it in the Predicates and Expressions documentation. So, for instance, I'd like to filter features so only those that have a "string_id" of "a" display. I believe this will help with my problem, when ready (https://github.com/mapbox/mapbox-gl-js/issues/4113), but just wondering if there

使用 plotly 绘制 Choropleth 地图

微笑、不失礼 提交于 2020-02-28 01:39:58
本文将通过绘制中国省级 Choropleth 地图来解释如何使用 plotly 绘制 Choropleth 地图,主要有两种方法:底层 API plotly.graph_objects.Choroplethmapbox 和高层 API plotly.express.choropleth_mapbox ,数据是 COVID-19 在某一天的疫情数据。 什么是 Choropleth 地图 Choropleth map 即分级统计图。在整个制图区域的若干个小的区划单元内(行政区划或者其他区划单位),根据各分区资料的数量(相对)指标进行分级,并用相应色级或不同疏密的晕线,反映各区现象的集中程度或发展水平的分布差别。—— Choropleth_百度百科 简单来说,具体到本文,就是在地图上为每个省上色,根据什么来确定上哪个颜色呢?在本文中就是该省的确诊人数,人数越多,颜色越亮。这样得到的地图就是 Choropleth 地图。 依赖 主要依赖为: plotly pandas 均可以通过 pip 安装,然后导入: import json import pandas as pd import plotly . express as px import plotly . graph_objs as go 数据准备 data.csv :某日 COVID-19 全国省级疫情数据,用于地图上色 china

setVisibleCoordinateBounds never set the exact Bounds

只谈情不闲聊 提交于 2020-02-25 13:41:59
问题 i'm struggleing with the mapbox (ios/swift) setVisibleCoordinateBounds function to center the viewport of a map to the given BoundsCoords. see api here It never set the exact Bounds or more specific it sets diffrent zoom levels whenever i call the function. the given boundsCoords are correct. Also tried setCenterCoordinate:zoomLevel:direction:animated:completionHandler cause i need an completionHandler. But it has the sam issues. Somebody experienced similar issues ? 回答1: Use one of the

setVisibleCoordinateBounds never set the exact Bounds

廉价感情. 提交于 2020-02-25 13:41:50
问题 i'm struggleing with the mapbox (ios/swift) setVisibleCoordinateBounds function to center the viewport of a map to the given BoundsCoords. see api here It never set the exact Bounds or more specific it sets diffrent zoom levels whenever i call the function. the given boundsCoords are correct. Also tried setCenterCoordinate:zoomLevel:direction:animated:completionHandler cause i need an completionHandler. But it has the sam issues. Somebody experienced similar issues ? 回答1: Use one of the

mapbox 笔记

戏子无情 提交于 2020-02-16 23:44:30
1:mapbox 更改图层属性 map.setPaintProperty(layer, 'fill-opacity', 1); 2:mapbox 更改图层数据源 map.getSource(source).setData(cityHeatDatas); 3:mapbox 获取当前地图已添加的图层layers及数据源sources const layers = map.getStyle().layers; const sources= map.getStyle().sources; 4:mapbox添加热力图heat-weight表达式 "heatmap-weight": ["/", ["get", "value"], heatWeight], 来源: CSDN 作者: 炉火纯青-旺 链接: https://blog.csdn.net/qq_34870529/article/details/104348202

开源方案搭建可离线的精美矢量切片地图服务-2.PostGIS+GeoServer矢量切片

て烟熏妆下的殇ゞ 提交于 2020-02-07 02:54:22
项目成果展示(所有项目文件都在阿里云的共享云虚拟主机上,访问地图可以会有点慢,请多多包涵)。 01:中国地图: http://test.sharegis.cn/mapbox/html/3china.html 02:德国-德累斯顿市: http://test.sharegis.cn/mapbox/html/6germany.html 1.PostGIS简介 PostGIS 是对象关系型数据库系统PostgreSQL的一个扩展,PostGIS提供如下空间信息服务功能:空间对象、空间索引、空间操作函数和空间操作符。同时,PostGIS遵循OpenGIS的规范。我们项目中主要使用它来保存原始矢量数据。 2.Geoserver简介 GeoServer 是 OpenGIS Web 服务器规范的 J2EE 实现,利用 GeoServer 可以方便的发布地图数据,允许用户对特征数据进行更新、删除、插入操作,通过 GeoServer 可以比较容易的在用户之间迅速共享空间地理信息。我们在GeoServer的基础上添加 vector Tiles 插件进行矢量切片。 3.数据准备 数据一:中国基础地理数据,格式为wgs84的shp数据: https://pan.baidu.com/s/16hN5znypnHR-Qw-BAejOoA 数据二:德国-德累斯顿市详细数据,格式为wgs84的shp数据:

MapBox - detect zoomLevel changes

大憨熊 提交于 2020-02-04 05:32:08
问题 How can I simply detect zoom level changes? Is it possible? I simply need to hide my annotation views when zoom level is not enough. regionDidChange:animated: is not intended to use for me. Any other way? I need to hide my labels here: and show them here: This is what I currently do with my labels: class CardAnnotation: MGLPointAnnotation { var card: Card init(card: Card) { self.card = card super.init() let coordinates = card.border.map { $0.coordinate } let sumLatitudes = coordinates.map {

openlayers渲染mapbox gl的vector tile

匆匆过客 提交于 2020-01-26 07:34:49
准备条件 https://openlayers.org/en/v4.6.5/build/ol.js https://cdn.polyfill.io/v2/polyfill.min.js DEMO <!DOCTYPE html> <html> <head> <title>Mapbox Vector Tiles</title> <link rel="stylesheet" href="https://openlayers.org/en/v4.6.5/css/ol.css" type="text/css"> <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script> <script src="https://openlayers.org/en/v4.6.5/build/ol.js"></script> <script src="https://openlayers.org/en/v4.6.5