Interface extending PrepareContextView. The methods defined
here are indended to be integrated on PrepareContextView, but
are maintained on this separate interface in order to mantain
compatibility with existing implementations.
This interface may be eventually integrated with PrepareContextView
on the next major refactoring.
You can use it to extract information from
the MapContext that will receive the new layer.
For example, projection to use, or visible extent.
Returns the MapContext.
Checks whether the MapControl is available.
The MapControl may not be available in some circumstances, for instance
when adding layers to a MapContext not associated with a View.
A MapContext should always be available on the getMapContext()
true if the MapControl is available, false otherwise