set mapregion based on polyline