Свойство | Type | Description | |
---|---|---|---|
ConvertPointFromWellKnownText | string | ||
ConvertPointToWellKnownText | string | ||
ConvertPolyFromWellKnownText | string |
Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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|..." |
Résultat | string |
public static IsClockwisePolygon ( |
||
polygon | ||
Résultat | bool |
protected OnInit ( |
||
e | An |
|
Résultat | void |
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The writer. |
Résultat | void |
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void | ||
writer | System.Web.UI.HtmlTextWriter | The |
Résultat | void |
public SetValue ( System.Data.Entity.Spatial.DbGeography dbGeography ) : void | ||
dbGeography | System.Data.Entity.Spatial.DbGeography | The db geography. |
Résultat | void |
protected btnSelect_Click ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
Résultat | void |