31 TrailLineItem::TrailLineItem(
internals::PointLatLng const& coord1,
internals::PointLatLng const& coord2, QBrush color, MapGraphicItem * map):QGraphicsLineItem(map),coord1(coord1),coord2(coord2),m_brush(color),m_map(map)
46 setLine(m_map->FromLatLngToLocal(this->coord1).
X(),m_map->FromLatLngToLocal(this->coord1).
Y(),m_map->FromLatLngToLocal(this->coord2).
X(),m_map->FromLatLngToLocal(this->coord2).
Y());