Classes
Methods
- 
    
    Update the projection. Rendering of the coordinates is done in handleMouseMoveandhandleMouseUp.This:Name Type Description mapEventmodule:ol/MapEvent~MapEvent Map event. 
Type Definitions
- 
    
    
Properties:Name Type Argument Default Description classNamestring <optional> 
 'ol-mouse-position' CSS class name. coordinateFormatmodule:ol/coordinate~CoordinateFormat <optional> 
 Coordinate format. projectionmodule:ol/proj~ProjectionLike <optional> 
 Projection. Default is the view projection. renderfunction <optional> 
 Function called when the control should be re-rendered. This is called in a requestAnimationFramecallback.targetHTMLElement | string <optional> 
 Specify a target if you want the control to be rendered outside of the map's viewport. undefinedHTMLstring <optional> 
 ' ' Markup to show when coordinates are not available (e.g. when the pointer leaves the map viewport). By default, the last position will be replaced with ' '( ) when the pointer leaves the viewport. To retain the last rendered position, set this option to something falsey (like an empty string'').