프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ConvertPointFromWellKnownText | string | ||
ConvertPointToWellKnownText | string | ||
ConvertPolyFromWellKnownText | string |
메소드 | 설명 | |
---|---|---|
ConvertPolyToWellKnownText ( string latCommaLongPipe ) : string |
Convert string from "lat1,long1|lat2,long2|..." to Well Known Text (WKT) http://en.wikipedia.org/wiki/Well-known_text format "POLYGON(( long1 lat1, long2 lat2, ...))". It is expected that the input is a single polygon (not a polygon with an inner polygon). It will also correct the orientation (clockwise-ness) of the points because DbGeography needs them to be in counter-clockwise order.
|
|
GeoPicker ( ) : System |
Initializes a new instance of the GeoPicker class.
|
|
IsClockwisePolygon ( |
Attempt to determine if the polygon is clockwise or counter-clockwise. Thank you dominoc! http://dominoc925.blogspot.com/2012/03/c-code-to-determine-if-polygon-vertices.html
|
|
RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void |
Renders the base control.
|
|
RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void |
Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
|
|
SetValue ( System.Data.Entity.Spatial.DbGeography dbGeography ) : void |
Sets the value. Necessary to preload the geo fence or geo point.
|
메소드 | 설명 | |
---|---|---|
CreateChildControls ( ) : void |
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
|
|
OnInit ( |
Raises the E:System.Web.UI.Control.Init event.
|
|
RegisterJavaScript ( ) : void |
Registers the java script.
|
|
btnSelect_Click ( object sender, |
Handles the Click event of the btnSelect control.
|
메소드 | 설명 | |
---|---|---|
ConvertPointFromWellKnownText ( string wkt ) : string |
Convert from WKT format: "POINT (long1 lat1)" to "lat1,long1"
|
|
ConvertPointToWellKnownText ( string latCommaLong ) : string |
Converts single coordinate set (lat,long) into the Well Known Text (WKT) POINT format. http://en.wikipedia.org/wiki/Well-known_text
|
|
ConvertPolyFromWellKnownText ( string wkt ) : string |
Convert from WKT format: "POLYGON ((long1 lat1, long2 lat2, ...))" to "lat1,long1|lat2,long2|..."
|
public static ConvertPolyToWellKnownText ( string latCommaLongPipe ) : string | ||
latCommaLongPipe | string | string of "lat1,long1|lat2,long2|..." |
리턴 | string |
public static IsClockwisePolygon ( |
||
polygon | ||
리턴 | bool |
protected OnInit ( |
||
e | An |
|
리턴 | void |
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
리턴 | void |
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The |
리턴 | void |
public SetValue ( System.Data.Entity.Spatial.DbGeography dbGeography ) : void | ||
dbGeography | System.Data.Entity.Spatial.DbGeography | The db geography. |
리턴 | void |
protected btnSelect_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
리턴 | void |