C# Класс MapAround.UI.Web.MapControl

Наследование: System.Web.UI.WebControls.WebControl, INamingContainer, ICallbackEventHandler
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
addChildControls void
beforePointRender void
beforePolygonRender void
beforePolylineRender void
changeZoom void
dataSourceNeeded void
dataSourceReadyToRelease void
doCenterMap void
doDragMap void
doHideSelection void
doLayerVisibilityChange void
doSelectObject void
doSetAllLayersVisibility void
dragMap void
encodeValue string
generateLayerList void
getScalePresentationData void
getWorkspace MapAround.Mapping.MapWorkspace
newButton System.Web.UI.HtmlControls.HtmlGenericControl
registerScripts void
setJsVariableName void
setWorkspace void
translateClientCoords void

Открытые методы

Метод Описание
GetCallbackResult ( ) : string

Gets a callback result.

MapControl ( ) : System

Instantiates MapControl.

MapToScreen ( ICoordinate point ) : Point

Transforms map coordinates to screen coordinates.

MapToScreen ( double x, double y ) : Point

Transforms map coordinates to screen coordinates.

MapToScreenD ( ICoordinate point ) : ICoordinate

Translates the map coordinates to screen coordinates.

RaiseCallbackEvent ( string eventArgument ) : void

Raises a callback event.

ScreenToMap ( ICoordinate point ) : ICoordinate

Transforms screen coordinates to map coordinates.

ScreenToMap ( Point point ) : ICoordinate

Transforms screen coordinates to map coordinates.

ScreenToMap ( int x, int y ) : ICoordinate

Transforms screen coordinates to map coordinates.

SetScalePresentationData ( double scales, string labels ) : void

Sets the scale presentation data.

SwitchToMode ( MapControlMode mode ) : void

Switches mode of the map control to the specified value.

Защищенные методы

Метод Описание
CreateChildControls ( ) : void

OnLoad ( EventArgs e ) : void

RenderContents ( System.Web.UI.HtmlTextWriter output ) : void

Приватные методы

Метод Описание
addChildControls ( ) : void
beforePointRender ( object sender, FeatureRenderEventArgs e ) : void
beforePolygonRender ( object sender, FeatureRenderEventArgs e ) : void
beforePolylineRender ( object sender, FeatureRenderEventArgs e ) : void
changeZoom ( int deltaPercent, int mouseX, int mouseY ) : void
dataSourceNeeded ( object sender, FeatureDataSourceEventArgs e ) : void
dataSourceReadyToRelease ( object sender, FeatureDataSourceEventArgs e ) : void
doCenterMap ( int mx, int my ) : void
doDragMap ( int mdx, int mdy ) : void
doHideSelection ( ) : void
doLayerVisibilityChange ( int layerIndex ) : void
doSelectObject ( int mx, int my ) : void
doSetAllLayersVisibility ( bool visible ) : void
dragMap ( double dx, double dy ) : void
encodeValue ( string s ) : string
generateLayerList ( ) : void
getScalePresentationData ( BoundingRectangle viewbox, int maxSegmentLength, int &segmentLength, string &label ) : void
getWorkspace ( ) : MapWorkspace
newButton ( string id, bool display, string title, string imageUrl, string onclick ) : System.Web.UI.HtmlControls.HtmlGenericControl
registerScripts ( ) : void
setJsVariableName ( string name ) : void
setWorkspace ( MapWorkspace workspace ) : void
translateClientCoords ( string args, int startIndex ) : void

Описание методов

CreateChildControls() защищенный Метод

protected CreateChildControls ( ) : void
Результат void

GetCallbackResult() публичный Метод

Gets a callback result.
public GetCallbackResult ( ) : string
Результат string

MapControl() публичный Метод

Instantiates MapControl.
public MapControl ( ) : System
Результат System

MapToScreen() публичный Метод

Transforms map coordinates to screen coordinates.
public MapToScreen ( ICoordinate point ) : Point
point ICoordinate A point on the map
Результат Point

MapToScreen() публичный Метод

Transforms map coordinates to screen coordinates.
public MapToScreen ( double x, double y ) : Point
x double X value on the map
y double X value on the map
Результат Point

MapToScreenD() публичный Метод

Translates the map coordinates to screen coordinates.
public MapToScreenD ( ICoordinate point ) : ICoordinate
point ICoordinate Coordinate point
Результат ICoordinate

OnLoad() защищенный Метод

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Результат void

RaiseCallbackEvent() публичный Метод

Raises a callback event.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string An argument string
Результат void

RenderContents() защищенный Метод

protected RenderContents ( System.Web.UI.HtmlTextWriter output ) : void
output System.Web.UI.HtmlTextWriter
Результат void

ScreenToMap() публичный Метод

Transforms screen coordinates to map coordinates.
public ScreenToMap ( ICoordinate point ) : ICoordinate
point ICoordinate A point of the screen
Результат ICoordinate

ScreenToMap() публичный Метод

Transforms screen coordinates to map coordinates.
public ScreenToMap ( Point point ) : ICoordinate
point Point A point on the screen
Результат ICoordinate

ScreenToMap() публичный Метод

Transforms screen coordinates to map coordinates.
public ScreenToMap ( int x, int y ) : ICoordinate
x int Client X value
y int Client Y value
Результат ICoordinate

SetScalePresentationData() публичный Метод

Sets the scale presentation data.
public SetScalePresentationData ( double scales, string labels ) : void
scales double An array of scales
labels string An array of labels
Результат void

SwitchToMode() публичный Метод

Switches mode of the map control to the specified value.
public SwitchToMode ( MapControlMode mode ) : void
mode MapControlMode A mode to switch
Результат void