矢量平铺,mapbox style.json

矢量平铺,mapbox style.json,mapbox,here-api,mapbox-gl,Mapbox,Here Api,Mapbox Gl,我想在应用程序中使用。但是,为了做到这一点,我需要定义一个style.json,有关规范和示例,请参阅 这里有我可以使用的basestyle.json吗 在讨论使用Mapbox的地方,文档简单地说:样式:“map\u style.json”//您应该使用自己的样式。不过,从头开始构建有点像PITA(a**中的痛苦) 感谢您的帮助。map\u style.json- this could be different for different use case and plain "JSON" fi

我想在应用程序中使用。但是,为了做到这一点,我需要定义一个
style.json
,有关规范和示例,请参阅

这里有我可以使用的base
style.json

在讨论使用Mapbox的地方,文档简单地说:
样式:“map\u style.json”//您应该使用自己的样式
。不过,从头开始构建有点像PITA(a**中的痛苦)

感谢您的帮助。

map\u style.json-

this could be different for different use case and plain "JSON" file. This needs to be according to the map properties that needs to be displayed to use the other container style.
map_style.json-

this could be different for different use case and plain "JSON" file. This needs to be according to the map properties that needs to be displayed to use the other container style.

我不知道他们为什么不写
mapboxgl.accessToken
这需要使用mapbox的样式和映射,似乎您应该创建自己的贴图和样式,然后在样式的源中插入
composite
source。@ChaseChoi只有在使用Mapbox贴图分幅或Mapbox样式中的其他资源时,才需要Mapbox accessToken。本例适用于第三方互动程序服务器。我不确定他们为什么不编写使用mapbox样式和映射所需的
mapboxgl.accessToken
,似乎您应该创建自己的贴图和样式,然后在样式的源中插入
composite
source。@ChaseChoi只有在使用Mapbox贴图分幅或Mapbox样式中的其他资源时,才需要Mapbox accessToken。本例适用于第三方互动程序服务器。但您能否发布完整的示例样式json?我想说的是,在大多数情况下,让图层看起来像本机中的默认样式就足够了。但是你能发布一个完整的示例样式json吗?我认为,在大多数情况下,让图层看起来像本地的默认样式就足够了。