/// <summary> /// Gets the horizontal and vertical scaling factors from cartesian map coordinates to view /// coordinates at the specified location, i.e. pixels per meter. /// </summary> public Vector GetScale(Location location) { return(ViewTransform.Scale * MapProjection.GetRelativeScale(location)); }
/// <summary> /// Gets the horizontal and vertical scaling factors from cartesian map coordinates to view /// coordinates at the specified location, i.e. pixels per meter. /// </summary> public Vector GetScale(Location location) { var projectionScale = MapProjection.GetRelativeScale(location); return(ViewTransform.Scale * projectionScale); }