简体   繁体   English

如何在mapbox中添加所有附近的POI?

[英]How to add all nearby POI in mapbox?

I am using MapBox and want to show the user all nearby Gym's/Fitness Clubs when the view appears. 我正在使用MapBox,并希望在显示视图时向用户显示附近的所有Gym / Fitness Clubs。 I cannot find any documentation on this on their website. 我在他们的网站上找不到任何文档。

I do not have my own dataset to upload and dont want to add all locations in myself, is there an existing database i can query? 我没有自己的数据集要上传,也不想在自己中添加所有位置,是否可以查询现有数据库?

Thanks! 谢谢!

In order to show gyms/fitness centers specifically on a Mapbox map, you will most likely need to add your own data. 为了在Mapbox地图上专门显示体育馆/健身中心,您很可能需要添加自己的数据。 For more information about data that you can extract from Mapbox vector tiles, please see the Mapbox Streets v8 guide . 有关可从Mapbox矢量图块提取的数据的更多信息,请参见Mapbox Streets v8指南

You could incorporate gyms from a third-party API as a symbol layer, then hide other POIs in your map. 您可以将来自第三方API的体育馆并入为符号层,然后在地图中隐藏其他POI。 One way to do this is to create a custom map style in Mapbox Studio that includes your data. 一种方法是在包含您的数据的Mapbox Studio中创建自定义地图样式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM