C# Class csDataServerPlugin.dsStaticLayer

Inheritance: dsBaseLayer, ILayerWithMoreChildren, IServiceLayer, IStartStopLayer, ITabLayer, IMenuLayer, IOnlineLayer
Datei anzeigen Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
End ( ) : void
FindPoiLayer ( PoI p ) : dsStaticSubLayer
FindPoiLayer ( string name ) : dsStaticSubLayer
GetMenuItems ( ) : List
GetSubLayer ( string name ) : dsStaticSubLayer
Initialize ( ) : void
OpenPoiPopup ( BaseContent c ) : void
Start ( bool share = false ) : void
StartShare ( ) : void
Stop ( ) : void
UpdatePoiStyle ( PoI p, bool checkVisibility = false ) : void
UpdatePosition ( BaseContent p ) : void
dsStaticLayer ( PoiService s, DataServerPlugin p ) : System.Collections.Concurrent

Private Methods

Method Description
AddChildLayer ( string name ) : dsStaticSubLayer
AddPoi ( PoI p ) : void
ConvertGeometryToPolygon ( PoI p, PoiGraphic g ) : void
ConvertPointsToPointCollection ( BaseContent p ) : ESRI.ArcGIS.Client.Geometry.PointCollection
ConvertPointsToPolygon ( BaseContent p, PoiGraphic g ) : void
ConvertPointsToPolyline ( BaseContent p, PoiGraphic g ) : void
ConvertPolygonToGraphic ( csCommon p, PoiGraphic g ) : void
ConvertPolylineToGraphic ( LineString ls, PoiGraphic g ) : void

Convert a polyline to a graphic. NOTE Although we could have used a Polyline to create the graphic, it would mean that we cannot specify the fill color, which is why I've chosen to convert it to a Polygon.

GetGraphic ( PoI p, StaticGraphic &g ) : void
MapControlExtentChanged ( object sender, ExtentEventArgs e ) : void
PoIs_BatchFinished ( object sender, EventArgs e ) : void
PoIs_BatchStarted ( object sender, EventArgs e ) : void
PoisCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
RemovePoi ( PoI p ) : void
ServiceInitialized ( object sender, EventArgs e ) : void
ServicePoiUpdated ( object sender, PoiUpdatedEventArgs e ) : void
ToGeographic ( double &mercatorX_lon, double &mercatorY_lat ) : void
ToWebMercator ( double &mercatorX_lon, double &mercatorY_lat ) : void
UpdateAllPois ( ) : void
UpdatePoiStyleGraphics ( PoI p, bool checkVisibility ) : void
p_PositionChanged ( object sender, PositionEventArgs e ) : void

Method Details

End() public method

public End ( ) : void
return void

FindPoiLayer() public method

public FindPoiLayer ( PoI p ) : dsStaticSubLayer
p DataServer.PoI
return dsStaticSubLayer

FindPoiLayer() public method

public FindPoiLayer ( string name ) : dsStaticSubLayer
name string
return dsStaticSubLayer

GetMenuItems() public method

public GetMenuItems ( ) : List
return List

GetSubLayer() public method

public GetSubLayer ( string name ) : dsStaticSubLayer
name string
return dsStaticSubLayer

Initialize() public method

public Initialize ( ) : void
return void

OpenPoiPopup() public method

public OpenPoiPopup ( BaseContent c ) : void
c DataServer.BaseContent
return void

Start() public method

public Start ( bool share = false ) : void
share bool
return void

StartShare() public method

public StartShare ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UpdatePoiStyle() public method

public UpdatePoiStyle ( PoI p, bool checkVisibility = false ) : void
p DataServer.PoI
checkVisibility bool
return void

UpdatePosition() public method

public UpdatePosition ( BaseContent p ) : void
p DataServer.BaseContent
return void

dsStaticLayer() public method

public dsStaticLayer ( PoiService s, DataServerPlugin p ) : System.Collections.Concurrent
s PoiService
p DataServerPlugin
return System.Collections.Concurrent