Initializes a new instance of the CoordinatesManager class.
The {@link framework.application.Application} that this instance belongs to.
protected variables
The {@link geocortex.essentialsHtmlViewer.ViewerApplication} that this accessibility manager instance belongs to.
We'll need to monitor when subscribers subscribe/unsubscribe to the outputStream observable so we can stop unnecessary coordinate tracking when it's no longer needed. This could be done with a
modification to Events.ts but that will involve an increased memory footprint for functionality that's currently not used anywhere else in the system. After a discussion with
Retrieves the coordinates for the provided mapPoint or the current mouse pointer location one time in either the specified Coordinate System or in the currently active one
Promise
Get the specified coordinate model by id. This function will return valid coordinate model instances, whether or not they have been registered with the coordinates manager.
The unique identifier for the coordinate model.
Promise
Tests to see if a coordinates model is registered with the coordinates manager. If no model id is provided, will check if there is a default model registeed else will check to see if the specified model has been registered or not.
Optional. If provided, will check to see if the specified model is registered, else will check if a default model is registered or not.
Registers a new CoordinatesModel
If this is true then the currently registered model will be set as default. Please note that if there is only one model registered in hte system, it will automatically be set as default, regardless of this setting.
The newly created CoordinatesModel or null on error.
The Coordinates Manager manages all the coordinate models registered in the system. Not only does it act as the central repository for coordinate systems, it is also responsible for mapping between the input source coordinate stream and the output coordinate stream when needed - i.e. when there are subscribers to the output coordinate stream.