GeoPicker property is based on Google Maps API and provides a rich interface for selecting a geo-coordinates – perfect for editing location of points of interests we want to show on a map.
- Source code is available at: https://openwaves.codeplex.com/SourceControl/changeset/view/85301#1685614
- Documentation is at: http://openwaves.codeplex.com/wikipage?title=OpenWaves.EPiServer.GeoPickerProperty
- NuGet package: http://nuget.org/packages/OpenWaves.EPiServer.GeoProperties/
Installation
Install OpenWaves.EPiServer.GeoProperties NuGet package from http://nuget.org/packages/OpenWaves.EPiServer.GeoProperties/
Getting started
To use the property set the type of the property to GeoPoint.
using OpenWaves.EPiServer.GeoProperties; ... [UIHint(PropertyGeoPoint.UiHint)] public virtual GeoPoint CustomLocation { get; set; }
From edit mode
Property editor lets editors type the geo-coordinates in Lat/Long number inputs or click on the location thumbnail to display a richer UI.
The popup lets editors search for locations and/or select a point by dragging a marker over the map.
After the location is selected, property editor shows a thumbnail of the location and its geo-coordinates.