Interface IElevationSampler
Queries the elevation of the ground at a location on the map. Ground height at a coordinate, in meters above the reference ellipsoid. The seam every altitude-consuming call site (markers, polylines, future buildings) routes through, so a real DEM provider can be swapped in later without touching any of those call sites.
public interface IElevationSampler
Remarks
Shape only, not a DEM implementation - deliberately design-for-only, not implemented yet. FlatElevationSampler is the default (always 0). No fetching, no async, no mesh work belongs behind this interface; a future tiled-DEM sampler can still implement it synchronously by caching ahead of the call, the same way tile selection resolves before a frame draws.
Methods
GetElevationMeters(LatLon)
Ground height at the given coordinate, in meters. Never NaN or infinite - implementations return their best estimate (0 for unknown terrain) rather than a sentinel a caller must check for.
double GetElevationMeters(LatLon at)
Parameters
atLatLon