C# Class MapAround.UI.Web.MapControl

Inheritance: System.Web.UI.WebControls.WebControl, INamingContainer, ICallbackEventHandler
Afficher le fichier Open project: gkrsu/maparound.core

Private Properties

Свойство Type Description
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

Méthodes publiques

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

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void

OnLoad ( EventArgs e ) : void

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

Private Methods

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

Method Details

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

GetCallbackResult() public méthode

Gets a callback result.
public GetCallbackResult ( ) : string
Résultat string

MapControl() public méthode

Instantiates MapControl.
public MapControl ( ) : System
Résultat System

MapToScreen() public méthode

Transforms map coordinates to screen coordinates.
public MapToScreen ( ICoordinate point ) : Point
point ICoordinate A point on the map
Résultat Point

MapToScreen() public méthode

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
Résultat Point

MapToScreenD() public méthode

Translates the map coordinates to screen coordinates.
public MapToScreenD ( ICoordinate point ) : ICoordinate
point ICoordinate Coordinate point
Résultat ICoordinate

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

RaiseCallbackEvent() public méthode

Raises a callback event.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string An argument string
Résultat void

RenderContents() protected méthode

protected RenderContents ( System.Web.UI.HtmlTextWriter output ) : void
output System.Web.UI.HtmlTextWriter
Résultat void

ScreenToMap() public méthode

Transforms screen coordinates to map coordinates.
public ScreenToMap ( ICoordinate point ) : ICoordinate
point ICoordinate A point of the screen
Résultat ICoordinate

ScreenToMap() public méthode

Transforms screen coordinates to map coordinates.
public ScreenToMap ( Point point ) : ICoordinate
point Point A point on the screen
Résultat ICoordinate

ScreenToMap() public méthode

Transforms screen coordinates to map coordinates.
public ScreenToMap ( int x, int y ) : ICoordinate
x int Client X value
y int Client Y value
Résultat ICoordinate

SetScalePresentationData() public méthode

Sets the scale presentation data.
public SetScalePresentationData ( double scales, string labels ) : void
scales double An array of scales
labels string An array of labels
Résultat void

SwitchToMode() public méthode

Switches mode of the map control to the specified value.
public SwitchToMode ( MapControlMode mode ) : void
mode MapControlMode A mode to switch
Résultat void