简体   繁体   English

在MapBox或Route-me中设置标记范围

[英]Set range of markers in MapBox or Route-me

I'm using MapBox to display an offline map that covers just a small portion of Earth and I want to show markers that have coordinates ranging from lng: 14.0 - 15.0 and lat: 54.0 - 55.0 . 我使用MapBox显示覆盖地球的只是一小部分的离线地图,我想表明,具有坐标从LNG标记:14.0 - 15.0和纬度:54.0 - 55.0。

The problem is that MapBox/Route-Me thinks that my map bounds are -180 - 180 and -85 - 85 . 问题是,MapBox /路由,我认为,我的地图范围是-180 - 180-85 - 85。 I can set bounds propery in .mbtiles but it doesn't help me because then it shows just a small portion of my map. 我可以在.mbtiles设置.mbtiles bounds .mbtiles但对我没有帮助,因为它仅显示了我地图的一小部分。 I think I need to tell MapBox that my map is just 14.0 - 15.0 and lat: 54.0 - 55.0 and not whole world. 我想,我需要告诉MapBox,我的地图仅仅是14.0 - 15.0和纬度:54.0 - 55.0,而不是整个世界。

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

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