public LiteFactibilidadViewModel(Messenger messenger, MapDefinition definition, MapInteractionHandler interactionHandler, EpsgCoordinateSystemReferenceCollection epsgCSs, World world = null, Envelope envelope = null, Feature owner = null) : base(messenger, definition, false, interactionHandler, epsgCSs, world, envelope, owner) { }
/// <summary> /// Constructs a LiteMapViewModel for a specified definition, interactionHandler, world and default /// envelope. /// </summary> /// <param name="messenger">The messenger to use for exchanging messages</param> /// <param name="definition">The definition to use for determining layers</param> /// <param name="interactionHandler">The interaction handler that contains the available interaction modes</param> /// <param name="epsgCSs">The spatialReference IDs available for display of Coords</param> /// <param name="world">The world to use (should match with definition's universe)</param> /// <param name="envelope">The default envelope to use</param> public LiteMapViewModel(Messenger messenger, MapDefinition definition, bool isUserMap, MapInteractionHandler interactionHandler, EpsgCoordinateSystemReferenceCollection epsgCSs, World world = null, Envelope envelope = null, Feature owner = null) : base(messenger, definition, interactionHandler, world, envelope, owner) { EpsgCoordinateSystems = epsgCSs; SetMapType(definition, isUserMap); SetupCommands(); SetupExport(); // Setup styles SetupSelectionStyles(); SetupHighlightStyles(); }