C# 클래스 MapAround.UI.Web.MapControl

상속: System.Web.UI.WebControls.WebControl, INamingContainer, ICallbackEventHandler
파일 보기 프로젝트 열기: gkrsu/maparound.core

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