C# Class ParkenDD.Services.MapDrawingService

Datei anzeigen Open project: sibbl/ParkenDD

Public Methods

Method Description
DrawParkingLots ( MapControl map, Grid drawingContainer ) : void
DrawSearchResult ( MapControl map, AddressSearchSuggestionItem result ) : void
DrawUserPosition ( MapControl map, Geoposition point ) : void
GetParkingLotOfIcon ( MapIcon icon ) : ParkingLot
MapDrawingService ( MainViewModel mainVm ) : System
RedrawParkingLot ( Grid drawingContainer, ParkingLot lot ) : void
RemoveSearchResult ( MapControl map ) : void

Private Methods

Method Description
DrawParkingLot ( MapControl map, Grid drawingContainer, ParkingLot lot ) : void
GetMapIconDonutImage ( Grid drawingContainer, ParkingLot lot ) : Task
GetZIndexForParkingLot ( ParkingLot lot ) : int

Method Details

DrawParkingLots() public method

public DrawParkingLots ( MapControl map, Grid drawingContainer ) : void
map MapControl
drawingContainer Windows.UI.Xaml.Controls.Grid
return void

DrawSearchResult() public method

public DrawSearchResult ( MapControl map, AddressSearchSuggestionItem result ) : void
map MapControl
result ParkenDD.Models.AddressSearchSuggestionItem
return void

DrawUserPosition() public method

public DrawUserPosition ( MapControl map, Geoposition point ) : void
map MapControl
point Windows.Devices.Geolocation.Geoposition
return void

GetParkingLotOfIcon() public method

public GetParkingLotOfIcon ( MapIcon icon ) : ParkingLot
icon MapIcon
return ParkenDD.Api.Models.ParkingLot

MapDrawingService() public method

public MapDrawingService ( MainViewModel mainVm ) : System
mainVm ParkenDD.ViewModels.MainViewModel
return System

RedrawParkingLot() public method

public RedrawParkingLot ( Grid drawingContainer, ParkingLot lot ) : void
drawingContainer Windows.UI.Xaml.Controls.Grid
lot ParkenDD.Api.Models.ParkingLot
return void

RemoveSearchResult() public method

public RemoveSearchResult ( MapControl map ) : void
map MapControl
return void