简体   繁体   English

React-map-gl 和deck.gl 绘图边界

[英]React-map-gl and deck.gl plot bounds

I was just wondering what the plotting bounds are for react-map-gl and deck.gl is, im trying to plot coordinates eg [90,20] and it doesnt plot on the map.我只是想知道 react-map-gl 和deck.gl 的绘图边界是什么,我试图绘制坐标,例如 [90,20] 并且它没有在地图上绘制。 Im simply using an icon layer and a staticmap.我只是使用一个图标层和一个静态地图。

Latitude should, in reality, be max 90 and min -90.实际上,纬度应该最大为 90,最小为 -90。 This is not the case it is more around -87 to 87, though this does plot an icon off map but it is visible, -85 to 85 is on map bounds.情况并非如此,而是在 -87 到 87 左右,尽管这确实在地图外绘制了一个图标,但它是可见的,-85 到 85 在地图边界上。

Longitude is infinite, this spans the entire globe horizontally therefore is infinite.经度是无限的,这水平跨越整个地球,因此是无限的。

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

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