Interface IPluginMapRegistry
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Map controls exposed by a UI host; inert in headless hosts.
public interface IPluginMapRegistry
Methods
AddMap(string, PluginMapViewport)
Adds a map. Dispose the returned surface to remove it.
IPluginMapSurface AddMap(string mapId, PluginMapViewport initialViewport)
Parameters
mapIdstringThe map's name, unique within the plugin that adds it.
initialViewportPluginMapViewportThe part of the world the map shows to begin with.
Returns
- IPluginMapSurface
The surface the plugin sets the map's image, markers and route through.