C# (CSharp) Rock.Web.UI.Controls GeoPicker - 2 exemples trouvés. Ce sont les exemples réels les mieux notés de Rock.Web.UI.Controls.GeoPicker extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Associées
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.