|
| RoutePlanningLayerViewModel (IRoutePlanningServiceClient serviceClient, IGeoContext geoContext, IGeoNavigator geoNavigator, IGeoLayerViewFactory routePlanningLayerViewFactory) |
|
Properties | GetRouteMarkProperties (IRouteInfo route, Point point) |
| Get route mark properties for route at point.- Parameters
-
route | Route with marks. |
point | Route mark point. |
- Returns
- Route mark properties or null if not found.
|
|
void | Clear () |
| Clear all routes.
|
|
bool | RemoveRoute (IRouteInfo route) |
| Remove route.- Parameters
-
- Returns
- True on success, otherwise false.
|
|
void | CalculateRoute (RoutingQuery query) |
| Calculate route.- Parameters
-
query | Parameters in route calculation. |
|
|
List< RoutingProfiles > | GetSupportedProfiles (string routingDatabaseName) |
| Get a list of routing profiles supported by a routing database.- Returns
- List of routing profiles.
|
|
List< RoutingDatabaseEntry > | GetRoutingDatabaseEntries () |
| Get routing databases from service.- Returns
- List of routing databases.
|
|
ResolveResult | ResolveCoordinates (ResolveQuery query) |
| Resolve coordinates.- Parameters
-
query | Parameters for resolving coordinates. |
|
|
void | CancelRequest (string requestId) |
| Cancel a running request with specific id.- Parameters
-
requestId | Request id to cancel |
|
|
override void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
override void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
override void | Generate () |
| Requests that the layer generates it's view.
|
|
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.
|
|
new void | Dispose () |
|
| 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 | CalculateRoute (RoutingQuery query) |
| Calculate route.
|
|
List< RoutingProfiles > | GetSupportedProfiles (string routingDatabaseName) |
| Get a list of routing profiles supported by a routing database.
|
|
List< RoutingDatabaseEntry > | GetRoutingDatabaseEntries () |
| Get routing databases from service.
|
|
ResolveResult | ResolveCoordinates (ResolveQuery query) |
| Resolve coordinates.
|
|
void | Clear () |
| Clear all routes.
|
|
bool | RemoveRoute (IRouteInfo route) |
| Remove route.
|
|
Properties | GetRouteMarkProperties (IRouteInfo route, Point point) |
| Get route mark properties for route at point.
|
|
void | CancelRequest (string requestId) |
| Cancel a running request with specific id.
|
|
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.
|
|
|
bool | ShowRouteMarks [get, set] |
| Show or hide marks for the routes.
|
|
IRoutePlanningVisualSettings | VisualSettings [get] |
| Visual route settings.
|
|
IRoutePlanningServiceClient | ServiceClient [get] |
|
ObservableCollection< IRouteInfo > | Routes [get, set] |
| List of routes.
|
|
IRouteInfo | SelectedRoute [get, set] |
| Gets or sets selected route.
|
|
ObservableCollection< GeoPos > | PreviewPositions [get] |
| Show preview position marks before route is calculated.Value will be cleared when RouteCalculationCompleted event is raised.
|
|
IGeoLayerView | View [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.
|
|
ObservableCollection< GeoPos > | PreviewPositions [get] |
| Show preview position marks before route is calculated.
|
|
IRoutePlanningVisualSettings | VisualSettings [get] |
| Visual route settings.
|
|
ObservableCollection< IRouteInfo > | Routes [get] |
| List of routes.
|
|
IRouteInfo | SelectedRoute [get, set] |
| Gets or sets selected route.
|
|
bool | ShowRouteMarks [get, set] |
| Show or hide marks for the routes.
|
|
|
RouteCalculationCancelledHandler | RouteCalculationCancelled |
|
RouteCalculationCompletedHandler | RouteCalculationCompleted = delegate { } |
|
RouteCalculationErrorHandler | RouteCalculationError = delegate { } |
|
VisibleChangedEventHandler | VisibleChanged = delegate { } |
|
LayerChangedEventHandler | LayerChanged = delegate { } |
|
PropertyChangedEventHandler | PropertyChanged = delegate { } |
| Raised when a property on this object has a new value.
|
|
VisibleChangedEventHandler | VisibleChanged |
| Visibility changed.
|
|
LayerChangedEventHandler | LayerChanged |
| Layer changed.
|
|
RouteCalculationCancelledHandler | RouteCalculationCancelled |
| Route calculation completed.
|
|
RouteCalculationCompletedHandler | RouteCalculationCompleted |
| Route calculation completed.
|
|
RouteCalculationErrorHandler | RouteCalculationError |
| Route calculation error.
|
|