C# Class csDataServerPlugin.dsStaticLayer

Inheritance: dsBaseLayer, ILayerWithMoreChildren, IServiceLayer, IStartStopLayer, ITabLayer, IMenuLayer, IOnlineLayer
Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public End ( ) : void
Résultat void

FindPoiLayer() public méthode

public FindPoiLayer ( PoI p ) : dsStaticSubLayer
p DataServer.PoI
Résultat dsStaticSubLayer

FindPoiLayer() public méthode

public FindPoiLayer ( string name ) : dsStaticSubLayer
name string
Résultat dsStaticSubLayer

GetMenuItems() public méthode

public GetMenuItems ( ) : List
Résultat List

GetSubLayer() public méthode

public GetSubLayer ( string name ) : dsStaticSubLayer
name string
Résultat dsStaticSubLayer

Initialize() public méthode

public Initialize ( ) : void
Résultat void

OpenPoiPopup() public méthode

public OpenPoiPopup ( BaseContent c ) : void
c DataServer.BaseContent
Résultat void

Start() public méthode

public Start ( bool share = false ) : void
share bool
Résultat void

StartShare() public méthode

public StartShare ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UpdatePoiStyle() public méthode

public UpdatePoiStyle ( PoI p, bool checkVisibility = false ) : void
p DataServer.PoI
checkVisibility bool
Résultat void

UpdatePosition() public méthode

public UpdatePosition ( BaseContent p ) : void
p DataServer.BaseContent
Résultat void

dsStaticLayer() public méthode

public dsStaticLayer ( PoiService s, DataServerPlugin p ) : System.Collections.Concurrent
s PoiService
p DataServerPlugin
Résultat System.Collections.Concurrent