我对{
我想要一个与这张照片相似的结果:
在mapview中搜索的方法不提供类似的东西
我尝试创建多个标记,例如:
MapView:
id: mapview
lat: 36.77418821888212
lon: 3.052954737671183
zoom: 12
on_zoom:
self.zoom = 12 if self.zoom < 12 else self.zoom
MapMarkerPopup:#ljama3 lakbir
lat: 36.7571627
lon: 2.9946709
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.735850
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.735900
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.735950
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.736000
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.736050
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"Resources/ptn (2).png"
lat: 36.736100
lon: 3.138329
popup_size: 400,320
MapMarkerPopup:#ljama3 lakbir
source:"source/marker.png"
lat: 36.735848
lon: 3.138329
popup_size: 400,320
但当izoom IN
时,它看起来不像一条线,而是彼此相邻的点
所以我的问题是,有什么可能的解决办法
您可以在
MapView
上画线,就像在任何其他Widget
上画线一样。通过扩展MapView
,可以像这样画线:相关问题 更多 >
编程相关推荐