示例#1
0
 /// <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));
 }
示例#2
0
        /// <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);
        }