|
| DrawObjectLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator, IDrawObjectLayerViewFactory drawObjectLayerViewFactory, IGeoUnitsSetting geoUnitsSetting, IDrawObjectInstanceIdProvider drawObjectInstanceIdProvider, IDrawObjectTypeDefinitionProvider drawObjectTypeDefinitionProvider=null, ISymbolProvidersFactory symbolProvidersFactory=null, IUndoRedoStack undoRedoStack=null, IDrawObjectServiceSynchronizer drawObjectServiceSynchronizer=null, IDrawObjectLayerFactory factory=null, IViewportLabelsLayerFactory viewportLabelsLayerFactory=null, INativeRenderSurface nativeRenderSurface=null) |
|
| DrawObjectLayerViewModel (IGeoUnitsSetting geoUnitsSetting, IDrawObjectInstanceIdProvider drawObjectInstanceIdProvider, IDrawObjectTypeDefinitionProvider drawObjectTypeDefinitionProvider=null, ISymbolProvidersFactory symbolProvidersFactory=null, IUndoRedoStack undoRedoStack=null, IDrawObjectServiceSynchronizer drawObjectServiceSynchronizer=null, IDrawObjectLayerFactory factory=null, IViewportLabelsLayerFactory viewportLabelsLayerFactory=null, INativeRenderSurface nativeRenderSurface=null) |
| Default constructor.
|
|
void | SetSymbolProvider (string type, IRasterSymbolProvider symbolProvider) |
| Assign a raster symbol provider to the given symbol type.
|
|
void | ClearSymbolCache () |
| Clear all symbols from the symbol caches.
|
|
void | SetUndoRedoStack (IUndoRedoStack undoRedoStack) |
| Sets a new undo redo stack to use.- Parameters
-
undoRedoStack | The undo redo stack. |
|
|
void | EditPoints (ItemId instanceId) |
| Sets edit mode for tool operations.- Parameters
-
instanceId | Instance id of draw object to set edit points for. |
|
|
void | EndEditPoints () |
| Ends edit mode for tool operations.
|
|
bool | Contains (ItemId instanceId) |
|
IDrawObjectData | Get (ItemId instanceId) |
| Retrieves a draw object from layer.- Parameters
-
instanceId | Instance id of draw object to retrieve |
- Returns
- Copy of draw object
|
|
IDrawObjectRuntimeData | GetDrawObjectRuntimeData (ItemId instanceId) |
| Get runtime data object from layer.- Parameters
-
instanceId | Instance id of draw object to retrieve |
- Returns
- Runtime data object
|
|
ISortedDrawObjectInfo | GetSorted (ICondition query, IList< SortInfoItem > sortItems, int offset, int maxCount) |
| Get draw objects sorted by specified field(s).- Parameters
-
query | Query for selecting sorted draw objects. Selected draw objects can be offset from start of sort order. THe specified number of draw objects can be lower than the total count. |
sortItems | List of sort items containing sorting info. |
offset | Offset into the set of draw objects to be returned. |
maxCount | Maximum count of draw objects to be returned. |
- Returns
- Sorted draw objects and supporting information.
|
|
void | Update (IDrawObjectData drawObjectData) |
| Updates (or creates if the object is not already present) a draw object in layer.- Parameters
-
drawObjectData | Draw object data |
|
|
void | Update (IEnumerable< IDrawObjectData > drawObjectData) |
| Updates (or creates if the object is not already present) a collection of draw object in layer.
|
|
void | Delete (ItemId instanceId, bool isUndoable=true) |
| Removes a draw object already present in layer.- Parameters
-
instanceId | Instance id of draw to be removed. |
isUndoable | If true the delete can be be undone. |
|
|
void | DeleteAll (bool isUndoable=true) |
| Removes all draw objects already present in layer. If draw object is present in multiple layers it is only removed from current layer. If draw object is present in current layer only it is removed from store as well.- Parameters
-
isUndoable | If true the delete can be be undone. |
|
|
bool | CanDeleteSelectedDrawObjects () |
| Check if selected draw objects can be deleted.- Returns
- true of we have selected objects, false otherwise.
|
|
void | Delete (IEnumerable< ItemId > instanceIds, bool isUndoable=true) |
| Delete draw objects.- Parameters
-
instanceIds | Instance ids of draw objects to delete. |
isUndoable | If true the delete can be be undone. |
|
|
bool | CanDeleteSelected () |
| Check if we can delete selected draw objects or primitives.- Returns
- true if draw objects are selected, or if we are in edit mode and we have selected primitives.
|
|
void | DeleteSelected () |
| Delete selected draw objects or selected draw object primitives if we are in edit mode.
|
|
bool | CanDeleteSelectedPrimitives () |
| Check if selected draw object primitives can be deleted.- Returns
- True if selected draw object primitives can be deleted, otherwise false.
|
|
void | DeleteSelectedPrimitives () |
| Delete selected draw object primitives.
|
|
bool | CanCancelCurrentOperation () |
| Checks if there are any operations that can be cancelled.- Returns
- True if an operation can be cancelled. False otherwise.
|
|
void | CancelCurrentOperation () |
| Cancels the current operation.
|
|
void | SetDirty (bool redrawRenderList, bool redrawEdits) |
| If draw layer is dirty, it will be redrawn on the next Update().
|
|
bool | HasDrawObjectChanged (ItemId drawObjectInstanceId) |
| Checks if the draw object with given instance id has been changed.- Parameters
-
drawObjectInstanceId | Instance id of draw object to check. |
- Returns
- True if changed, false otherwise.
|
|
bool | HasDrawObjectChangedSince (ItemId drawObjectInstanceId, DateTime since) |
| Checks if the draw object with given instance id has been changed after the given timestamp.- Parameters
-
drawObjectInstanceId | Instance id of draw object to check. |
since | The timestamp to check against. |
- Returns
- True if changed, false otherwise.
|
|
void | ClearChangedState (ItemId drawObjectInstanceId) |
| Clears the changed flag if the draw object with given instance id.- Parameters
-
drawObjectInstanceId | The instance id of the draw object to clear changed stateus for. |
|
|
bool | IsSelected (ItemId instanceId) |
| Returns whether a draw object in layer is selected.- Parameters
-
instanceId | Instance id of draw object |
|
|
void | Select (ItemId instanceId, bool deselect=false) |
| Selects a draw object in layer.- Parameters
-
instanceId | Instance id of draw object |
deselect | If set to "true" deselects all selected draw objects. |
This will not de-select other selected draw objects
|
|
void | Select (List< ItemId > instanceIds, bool deselect=false) |
| Selects a draw objects in layer.- Parameters
-
instanceIds | Instance ids of draw objects |
deselect | If set to "true" deselects all selected draw objects. |
This will not de-select other selected draw objects
|
|
bool | IsDrawObjectDisabled (ItemId id) |
| Get disabled state for draw object.- Parameters
-
- Returns
- True if disabled, otherwise false.
|
|
void | DeSelect (ItemId instanceId) |
| De-selects a draw object in layer.- Parameters
-
instanceId | Instance id of draw object |
|
|
void | DeSelect (List< ItemId > instanceIds) |
| De-selects a draw objects in layer.- Parameters
-
instanceIds | Instance ids of draw objects |
|
|
void | DeSelectAll () |
| De-selects all draw object in layer.
|
|
void | SetStateFilter (string stateKey, IItemStateFilter filter) |
| Set state filter.- Parameters
-
stateKey | State key. |
filter | State filter. |
|
|
override void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.- Parameters
-
If the layer handles the event, it must set the Handled property to true.
|
|
override void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
override void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
override bool | IsDirty () |
|
void | RemoveDrawObjectFromUndoRedoStack (ItemId instanceId) |
| Removes all undo steps where the given instance id is affected.- Parameters
-
instanceId | Instance id of draw object. |
|
|
void | ClearUndoRedoStack () |
| Clears all available steps from the undoredo stack.
|
|
void | Copy () |
| Copy selected draw object to clipboard.
|
|
void | Cut () |
| Cut selected draw object to clipboard.
|
|
void | Paste (bool centerObjects=false) |
| Paste draw object from clipboard.- Parameters
-
centerObjects | True if objects are to be centered. |
|
|
bool | CanCopy () |
| Check if copy to clipboard can be executed.- Returns
- true if copy to be executed, otherwise false.
|
|
bool | CanCut () |
| Check if cut to clipboard can be executed.- Returns
- true if cut can be executed, otherwise false.
|
|
bool | CanPaste () |
| Check if paste from clipboard can be executed.- Returns
- true if paste can be executed, otherwise false.
|
|
bool | EnsureWithinMapView (params ItemId[] instanceIds) |
| Zoom and center viewport to draw objects.- Parameters
-
instanceIds | Instance ids of draw objects to zoom and center viewport to. |
- Returns
- True on success, otherwise false.
|
|
void | ActivateCreationWorkflow (Guid drawObjectTypeId, Dictionary< string, string > defaultFields=null, Dictionary< string, string > creationFields=null, bool useAlternativeWorkflow=false) |
| Activates a draw object creation workflow.- Parameters
-
drawObjectTypeId | Draw object type id. |
defaultFields | Default draw object fields. |
creationFields | Parameters optionally supplied to guide the creation process, without being parts of the draw object itself. |
useAlternativeWorkflow | If true the alternative creation workflow is used, otherwise the default creation workflow is used. |
|
|
void | ActivateCreationWorkflow (Guid drawObjectTypeId, string listId, Dictionary< string, string > defaultFields=null, Dictionary< string, string > creationFields=null, bool useAlternativeWorkflow=false) |
| Activates a draw object creation workflow.- Parameters
-
drawObjectTypeId | Draw object type id. |
listId | Id of list the draw object should be added to. |
defaultFields | Default draw object fields. |
creationFields | Parameters optionally supplied to guide the creation process, without being parts of the draw object itself. |
useAlternativeWorkflow | If true the alternative creation workflow is used, otherwise the default creation workflow is used. |
|
|
void | DeactivateCreationWorkflow () |
| Deactivates the active creation workflow.
|
|
bool | HasActiveCreationWorkflow (Guid drawObjectTypeId) |
| Check active status of creation workflow.- Parameters
-
drawObjectTypeId | Draw object type id of creation workflow. |
- Returns
- True if a workflow is active, otherwise false.
|
|
bool | HasActiveCreationWorkflow () |
| Check if a workflow is active.- Returns
- True if a workflow is active, otherwise false.
|
|
bool | SetDrawObjectStyle (string styleSetXmlRep) |
| Replaces the current style with the one given.- Parameters
-
styleXmlRep | XML representation of the new style to use. |
- Returns
- True on success, false otherwise.
|
|
bool | SetDrawObjectDefaultValueStyle (string styleSetXmlRep) |
| Replaces the current default value style with the one given.- Parameters
-
styleXmlRep | XML representation of the new style to use. |
- Returns
- True on success, false otherwise.
|
|
List< ItemId > | GetClickedDrawObjects (Point point) |
| Get draw objects instnce ids at clicked position.- Parameters
-
- Returns
- List of instance ids.
|
|
int | GetVisibleObjectCount () |
| Get visible draw object count.- Returns
- Visible draw object count.
|
|
List< ItemId > | GetVisibleObjectIds () |
| Get visible draw object ids.- Returns
- Ids if visible draw objects.
|
|
List< GeoPos > | GetEnvelopeForDrawObjects (ICondition query) |
| Retrieves a position list for draw objects restricted by a query.- Parameters
-
- Returns
- Envelope for draw objects.
|
|
IDrawObjectList | GetCreateDrawObjectList (string listId, bool isLocal) |
| Get or create a draw object list.- Parameters
-
listId | Id of list to create. |
isLocal | If true, the draw object list should not be synchronized with a server. |
- Returns
- List with given id.
|
|
void | RemoveDrawObjectList (string listId, bool removeDrawObjectsFromService) |
| Remove draw object list.- Parameters
-
listId | Id of list to remove. |
removeDrawObjectsFromService | True if draw objects should be removed from service. |
All draw objects in list will be removed.
|
|
void | RefreshStyle () |
| Refresh draw object style.
|
|
void | SetContextVariable (string name, string value) |
| Set a context variable used in style.- Parameters
-
|
|
void | RemoveContextVariable (string name) |
| Remove a context variable used in style.- Parameters
-
|
|
void | Group (List< ItemId > ids) |
| Group draw objects in a composite draw object.- Parameters
-
|
|
void | Ungroup (ItemId compositeId) |
| Ungroup draw objects in a composite draw object.- Parameters
-
compositeId | Id of composite draw object to ungroup. |
|
|
void | PreExport () |
| Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
|
|
void | Export (Canvas canvas, IGeoContext geoContext, double targetDpi) |
| The actual export function. Implementing classes should draw their content using the provided canvas and geo context.- Parameters
-
canvas | The canvas to draw into. |
geoContext | The geo context relevant for this export. |
targetDpi | The wanted dpi for the export. |
|
|
void | PostExport () |
| Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
|
|
ProductsInfoResponse | GetProductsInfo (ProductQuery query, string symbologyType) |
| Get all installed products matching query. If query is null or empty, all installed product will be installed.- Parameters
-
query | Query used to filter product information |
symbologyType | Symbol provider type. Default is SymbolPoint. |
- Returns
- Product information.
|
|
SymbolProductConfig | GetProductSymbolConfig (string productId, string symbologyType) |
| Get detailed symbol configuration for a single product, including mappings and symbol organization.- Parameters
-
productId | Product id |
symbologyType | Symbol provider type. Default is "SymbolPoint". |
- Returns
- Symbol product configuration.
|
|
SymbolsInfoResponse | GetSymbolsInfo (TPG.SymbolPoint.Contracts.SymbolQuery query, string symbologyType) |
| Get information for all symbols matching query.- Parameters
-
query | Symbol query. |
symbologyType | Symbol provider type. Default is "SymbolPoint". |
- Returns
- Symbols information.
|
|
SymbolsData | GetSymbols (SymbolsRenderSpec symbolsInfo, string symbologyType) |
| Get multiple symbols according to specification.- Parameters
-
symbolsInfo | Symbol render specification. |
symbologyType | Symbol provider type. Default is "SymbolPoint". |
- Returns
- Symbol data, note that for each requested symbol, one entry in SymbolsData.Symbols will be returned, even if symbol was not found. Appropriate status is set for invalid symbols
|
|
bool | SetCustomErrorSymbol (string symbolCode, double scale, string symbologyType) |
| Add a custom default error symbol for symbolpoint libraries.
|
|
int | AddProductPaths (ProductPathsInfo productPath, string symbologyType) |
| Add product paths for symbol point libraries.- Parameters
-
productPath | Product path string. |
symbologyType | Symbol provider type. Default is "SymbolPoint". |
- Returns
- Added path count.
|
|
void | RemoveTiledDrawObjectLayer () |
| Remove high performance tiled draw object layer.
|
|
void | CreateTiledDrawObjectLayer (IMapInterfacer mapInterfacer, IMapResources mapResources, INativeTileCacheManager tileCacheManager) |
| Add a high performance tiled draw object layer.Gives high performance when a large amount of darw objects are rendered at the same time.
|
|
bool | SetSelectedIndex (ItemId instanceId, int pointIndex) |
| Select given point index in line object.- Parameters
-
instanceId | InstanceId for Line object. |
pointIndex | Point index in Line object. |
- Returns
- Returns true if point was selected.
|
|
bool | IsSmoothable (ItemId instanceId) |
| Checks if a draw object can have smooth lines.
|
|
bool | IsSmoothable (Guid typeId) |
| Checks if a draw object type can have smooth lines.
|
|
IList< GeoShape > | GetGeoShapes (GeoRect bounds) |
| Get geo shapes within bounds.- Parameters
-
bounds | Bounds to restrict search. |
- Returns
- List of geo shapes.
|
|
| GeoLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator) |
|
abstract void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
virtual void | Generate () |
| Requests that the layer generates it's view.
|
|
abstract void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
virtual void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object sender) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
virtual bool | IsDirty () |
|
void | Dispose () |
| Invoked when this object is being removed from the application and will be subject to garbage collection.
|
|
void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
void | Generate () |
| Requests that the layer generates it's view.
|
|
void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object dirtySource) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
bool | IsDirty () |
|
void | EditPoints (ItemId instanceId) |
| Sets edit mode for tool operations.
|
|
void | EndEditPoints () |
| Ends edit mode for tool operations.
|
|
IDrawObjectData | Get (ItemId instanceId) |
| Retrieves a draw object from layer.
|
|
IDrawObjectRuntimeData | GetDrawObjectRuntimeData (ItemId instanceId) |
| Get runtime data object from layer.
|
|
ISortedDrawObjectInfo | GetSorted (ICondition query, IList< SortInfoItem > sortItems, int offset, int maxCount) |
| Get draw objects sorted by specified field(s).
|
|
void | Update (IDrawObjectData drawObjectData) |
| Updates (or creates if the object is not already present) a draw object in layer.
|
|
void | Update (IEnumerable< IDrawObjectData > drawObjectData) |
| Updates (or creates if the object is not already present) a collection of draw object in layer.
|
|
void | Delete (ItemId instanceId, bool isUndoable=true) |
| Removes a draw object already present in layer.
|
|
void | DeleteAll (bool isUndoable=true) |
| Removes all draw objects already present in layer. If draw object is present in multiple layers it is only removed from current layer. If draw object is present in current layer only it is removed from store as well.
|
|
bool | CanDeleteSelectedPrimitives () |
| Check if selected draw object primitives can be deleted.
|
|
void | DeleteSelectedPrimitives () |
| Delete selected draw object primitives.
|
|
bool | CanCancelCurrentOperation () |
| Checks if there are any operations that can be cancelled.
|
|
void | CancelCurrentOperation () |
| Cancels the current operation.
|
|
bool | IsSelected (ItemId instanceId) |
| Returns whether a draw object in layer is selected.
|
|
void | Select (ItemId instanceId, bool deselect=false) |
| Selects a draw object in layer.
|
|
void | Select (List< ItemId > instanceIds, bool deselect=false) |
| Selects a draw objects in layer.
|
|
void | DeSelect (ItemId instanceId) |
| De-selects a draw object in layer.
|
|
void | DeSelect (List< ItemId > instanceIds) |
| De-selects a draw objects in layer.
|
|
void | DeSelectAll () |
| De-selects all draw object in layer.
|
|
void | SetDirty (bool redrawRenderList, bool redrawEdits) |
| If draw layer is dirty, it will be redrawn on the next Update().
|
|
bool | HasDrawObjectChanged (ItemId drawObjectInstanceId) |
| Checks if the draw object with given instance id has been changed.
|
|
bool | HasDrawObjectChangedSince (ItemId drawObjectInstanceId, DateTime since) |
| Checks if the draw object with given instance id has been changed after the given timestamp.
|
|
void | ClearChangedState (ItemId drawObjectInstanceId) |
| Clears the changed flag if the draw object with given instance id.
|
|
void | Copy () |
| Copy selected draw object to clipboard.
|
|
bool | CanCopy () |
| Check if copy to clipboard can be executed.
|
|
void | Cut () |
| Cut selected draw object to clipboard.
|
|
bool | CanCut () |
| Check if cut to clipboard can be executed.
|
|
void | Paste (bool centerObjects=false) |
| Paste draw object from clipboard.
|
|
bool | CanPaste () |
| Check if paste from clipboard can be executed.
|
|
void | RemoveDrawObjectFromUndoRedoStack (ItemId instanceId) |
| Removes all undo steps where the given instance id is affected.
|
|
void | ClearUndoRedoStack () |
| Clears all available steps from the undoredo stack.
|
|
void | SetUndoRedoStack (IUndoRedoStack undoRedoStack) |
| Sets a new undo redo stack to use.
|
|
bool | CanDeleteSelectedDrawObjects () |
| Check if selected draw objects can be deleted.
|
|
void | Delete (IEnumerable< ItemId > instanceIds, bool isUndoable=true) |
| Delete draw objects.
|
|
bool | CanDeleteSelected () |
| Check if we can delete selected draw objects or primitives.
|
|
void | DeleteSelected () |
| Delete selected draw objects or selected draw object primitives if we are in edit mode.
|
|
bool | EnsureWithinMapView (params ItemId[] instanceIds) |
| Zoom and center viewport to draw objects.
|
|
void | ActivateCreationWorkflow (Guid drawObjectTypeId, Dictionary< string, string > defaultFields=null, Dictionary< string, string > creationFields=null, bool useAlternativeWorkflow=false) |
| Activates a draw object creation workflow.
|
|
void | ActivateCreationWorkflow (Guid drawObjectTypeId, string listId, Dictionary< string, string > defaultFields=null, Dictionary< string, string > creationFields=null, bool useAlternativeWorkflow=false) |
| Activates a draw object creation workflow.
|
|
void | DeactivateCreationWorkflow () |
| Deactivates the active creation workflow.
|
|
bool | HasActiveCreationWorkflow (Guid drawObjectTypeId) |
| Check active status of creation workflow.
|
|
bool | HasActiveCreationWorkflow () |
| Check if a workflow is active.
|
|
bool | SetDrawObjectStyle (string styleXmlRep) |
| Replaces the current style with the one given.
|
|
bool | SetDrawObjectDefaultValueStyle (string styleXmlRep) |
| Replaces the current default value style with the one given.
|
|
List< ItemId > | GetClickedDrawObjects (Point point) |
| Get draw objects instnce ids at clicked position.
|
|
int | GetVisibleObjectCount () |
| Get visible draw object count.
|
|
List< ItemId > | GetVisibleObjectIds () |
| Get visible draw object ids.
|
|
List< GeoPos > | GetEnvelopeForDrawObjects (ICondition query) |
| Retrieves a position list for draw objects restricted by a query.
|
|
void | SetSymbolProvider (string type, IRasterSymbolProvider symbolProvider) |
| Assign a raster symbol provider to the given symbol type.
|
|
void | ClearSymbolCache () |
| Clear all symbols from the symbol caches.
|
|
IDrawObjectList | GetCreateDrawObjectList (string listId, bool isLocal) |
| Get or create a draw object list.
|
|
void | RemoveDrawObjectList (string listId, bool removeDrawObjectsFromService) |
| Remove draw object list.
|
|
void | RefreshStyle () |
| Refresh draw object style.
|
|
void | SetContextVariable (string name, string value) |
| Set a context variable used in style.
|
|
void | RemoveContextVariable (string name) |
| Remove a context variable used in style.
|
|
void | Group (List< ItemId > ids) |
| Group draw objects in a composite draw object.
|
|
void | Ungroup (ItemId compositeId) |
| Ungroup draw objects in a composite draw object.
|
|
void | SetStateFilter (string stateKey, IItemStateFilter filter) |
| Set state filter.
|
|
ProductsInfoResponse | GetProductsInfo (ProductQuery query, string symbologyType="SymbolPoint") |
| Get all installed products matching query. If query is null or empty, all installed product will be installed.
|
|
SymbolProductConfig | GetProductSymbolConfig (string productId, string symbologyType="SymbolPoint") |
| Get detailed symbol configuration for a single product, including mappings and symbol organization.
|
|
SymbolsInfoResponse | GetSymbolsInfo (SymbolQuery query, string symbologyType="SymbolPoint") |
| Get information for all symbols matching query.
|
|
SymbolsData | GetSymbols (SymbolsRenderSpec symbolsInfo, string symbologyType="SymbolPoint") |
| Get multiple symbols according to specification.
|
|
int | AddProductPaths (ProductPathsInfo productPath, string symbologyType="SymbolPoint") |
| Add product paths for symbol point libraries.
|
|
bool | SetCustomErrorSymbol (string symbolCode, double scale, string symbologyType="SymbolPoint") |
| Add a custom default error symbol for symbolpoint libraries.
|
|
void | CreateTiledDrawObjectLayer (IMapInterfacer mapInterfacer, IMapResources mapResources, INativeTileCacheManager tileCacheManager) |
| Add a high performance tiled draw object layer.
|
|
void | RemoveTiledDrawObjectLayer () |
| Remove high performance tiled draw object layer.
|
|
bool | SetSelectedIndex (ItemId instanceId, int pointIndex) |
| Select given point index in line object.
|
|
bool | IsSmoothable (ItemId instanceId) |
| Checks if a draw object can have smooth lines.
|
|
bool | IsSmoothable (Guid typeId) |
| Checks if a draw object type can have smooth lines.
|
|
bool | IsDrawObjectDisabled (ItemId id) |
| Get disabled state for draw object.
|
|
void | PreExport () |
| Called before actual export is performed. The layer must ensure that state that changes the appearance of the layer is not altered.
|
|
void | Export (Canvas canvas, IGeoContext geoContext, double targetDpi) |
| The actual export function. Implementing classes should draw their content using the provided canvas and geo context.
|
|
void | PostExport () |
| Called after export is performed. After this no more export functions will be called and the layer should go back to normal operation.
|
|
IList< GeoShape > | GetGeoShapes (GeoRect bounds) |
| Get geo shapes within bounds.
|
|
|
IDisplayFilter | DisplayFilter [get] |
| Get displayfilter.
|
|
ICondition | ReadOnlyFilter [get, set] |
| Filter specifying draw objects that should be read-only.
|
|
override string | DisplayName [get] |
|
double | HitTestRadius [get, set] |
| Extra buffer (in pixels) around tool handles and other graphics for hit testing.
|
|
ItemId | EditPointsInstanceId [get] |
| Instance id of draw object in edit points mode. Null if no draw object is beeing edited.
|
|
List< ItemId > | DrawObjectIds [get] |
| Instance id of all draw objects in layer.
|
|
UIElement | RenderTarget [get, set] |
| The target WPF control for all drawing operations.
|
|
IEnumerable< ItemId > | SelectedDrawObjectIds [get] |
| Get a list of the currently selected draw object ids.- Returns
|
|
double | ViewSymbolScale [get, set] |
| Get or set symbol scale (1.0 is normal size)
|
|
IStyleSet | DefaultValueStyleSet [get, set] |
| Get or set default value style.
|
|
ICondition | DisabledFilter [get, set] |
| Filter to evaluate to find disabled draw objects.
|
|
List< ItemId > | FilteredRenderList [get] |
|
bool | SuppressDrawObjectMove [get, set] |
| Get or set if draw objects can be moved.
|
|
bool | IsMultiSelectionEnabled [get, set] |
| Get or set if draw object multi selection is enabled.
|
|
bool | IsAspectRatioActionEnabled [get, set] |
| Get or set if draw object aspect ratio action is enabled.
|
|
bool | IsSymmetricActionEnabled [get, set] |
| Get or set if draw object symmetric action is enabled.
|
|
string | ActiveDrawObjectServiceStoreId [get, set] |
| Get or set draw object store id to store draw objects in.
|
|
IEnumerable< IDrawObjectList > | ClientDrawObjectLists [get] |
|
bool | IsAutoRefreshEnabled [get, set] |
| Get or set if rendering is automatically refreshed at given intervals.
|
|
int | AutoRefreshInterval [get, set] |
| Get or set the interval in milliseconds at which rendering is automatically refreshed.To enable automatically refresh AutoRefreshEnabled must be set to true.
|
|
List< SuppressToolTypes > | SuppressedDrawObjectTools [get, set] |
| Get or set if draw objects rotation tool is available.
|
|
List< IInteractionHandler > | InteractionHandlers [get] |
| Get interaction handlers.
|
|
bool | EnableTiledDrawObjectLayerInAllProjections [get, set] |
| Get or set if tiled draw object layer is enabled for all projections, not just Mercator.
|
|
IDrawObjectLayerView | View [get, set] |
| Need this for correct disposal.
|
|
IDrawObjectClustering | DrawObjectClustering [get] |
|
IDrawObjectFilterResultCacheManager | FilterResultCacheManager [get, set] |
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get, set] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
virtual string | DisplayName [get, protected set] |
| Returns the user-friendly name of this object. Child classes can set this property to a new value, or override it to determine the value on-demand.
|
|
string | DisplayName [get] |
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
List< ItemId > | DrawObjectIds [get] |
| Instance id of all draw objects in layer.
|
|
ICondition | ReadOnlyFilter [get, set] |
| Filter specifying draw objects that should be read-only.
|
|
IDisplayFilter | DisplayFilter [get] |
| Get displayfilter.
|
|
ItemId | EditPointsInstanceId [get] |
| Instance id of draw object in edit points mode. Null if no draw object is beeing edited.
|
|
IEnumerable< ItemId > | SelectedDrawObjectIds [get] |
| Get a list of the currently selected draw object ids.
|
|
UIElement | RenderTarget [get, set] |
| The target WPF control for all drawing operations.
|
|
double | ViewSymbolScale [get, set] |
| Get or set symbol scale (1.0 is normal size)
|
|
IStyleSet | DefaultValueStyleSet [get, set] |
| Get or set default value style.
|
|
ICondition | DisabledFilter [get, set] |
| Filter to evaluate to find disabled draw objects.
|
|
double | HitTestRadius [get, set] |
| Extra buffer (in pixels) around tool handles and other graphics for hit testing.
|
|
bool | SuppressDrawObjectMove [get, set] |
| Get or set if draw objects can be moved.
|
|
bool | IsMultiSelectionEnabled [get, set] |
| Get or set if draw object multi selection is enabled.
|
|
bool | IsAspectRatioActionEnabled [get, set] |
| Get or set if draw object aspect ratio action is enabled.
|
|
bool | IsSymmetricActionEnabled [get, set] |
| Get or set if draw object symmetric action is enabled.
|
|
string | ActiveDrawObjectServiceStoreId [get, set] |
| Get or set draw object store id to store draw objects in.
|
|
IEnumerable< IDrawObjectList > | ClientDrawObjectLists [get] |
|
bool | IsAutoRefreshEnabled [get, set] |
| Get or set if rendering is automatically refreshed at given intervals.
|
|
int | AutoRefreshInterval [get, set] |
| Get or set the interval in milliseconds at which rendering is automatically refreshed.
|
|
List< SuppressToolTypes > | SuppressedDrawObjectTools [get, set] |
| Get or set if draw objects rotation tool is available.
|
|
IDrawObjectLayerView | View [get, set] |
| Need this for correct disposal.
|
|
bool | EnableTiledDrawObjectLayerInAllProjections [get, set] |
| Get or set if tiled draw object layer is enabled for all projections, not just Mercator.
|
|
IDrawObjectClustering | DrawObjectClustering [get] |
|
IDrawObjectFilterResultCacheManager | FilterResultCacheManager [get, set] |
|
List< IInteractionHandler > | InteractionHandlers [get] |
| Get interaction handlers.
|
|