Methods
CreateNullMapping
#Create a direct lon-lat to World XY mapping.
Parameters:
| elevationFactor (double) | Elevation factor. |
Returns: Straight mapping.
CreatePlanarMapping
#public static OsmMapping CreatePlanarMapping(double longitude, double latitude, double elevationFactor)
Create a mapping onto a sphere.
CreateRectangleMapping
#public static OsmMapping CreateRectangleMapping(Interval longitudeDegrees, Interval latitudeDegrees, Rectangle3d targetBox, double elevationFactor)
Create a mapping onto a rectangle.
Parameters:
| longitudeDegrees (Interval) | Longitude range. |
| latitudeDegrees (Interval) | Latitude range. |
| targetBox (Rectangle3d) | Destination rectangle. |
| elevationFactor (double) | Elevation multiplier. |
Returns: Mapping instance.