C# (CSharp) Rock.Web.UI.Controls GeoPicker - 2 examples found. These are the top rated real world C# (CSharp) examples of Rock.Web.UI.Controls.GeoPicker extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
This control will create a Google map with drawring tools that allows the user to define a single point or a polygon which forms a geo-fence depending on the Rock.Web.UI.Controls.GeoPicker.ManagerDrawingMode.Point. To use on a page or usercontrol: ]]> To set an initial value: gpGeoPoint.SetValue( DbGeography.FromText("POINT(-122.335197 47.646711)") ); To access the value after it's been set use the SelectedValue property: DbGeography point = gpGeoPoint.SelectedValue; If you wish to set an appropriate, initial center point you can use the CenterPoint property.