updated position history with show X rows, add map with history postions as polylines