我要画的是地图
puntoA = self.puntos[0]
puntoB = self.puntos[1]
direccionx = puntoA.lon - puntoB.lon
direcciony = puntoA.lat - puntoB.lat
distanciax = direccionx/25
distanciay = direcciony/25
for i in range(25):
print i
puntox = distanciax*i
puntoy = distanciay*i
self.mv.add_marker(MapMarker(lat = self.puntos[1].lat + puntoy , lon = self.puntos[1].lon + puntox, source = self.icons + "Entypo_e78b(0)_32.png"))
我在谷歌的一个小组里找到了这个,它很管用。在
相关问题 更多 >
编程相关推荐