EPiServer Google Maps editor on NuGet
The Google Maps editor, for editing coordinates in EPiServer, can now easily be added to any EPiServer 7.5 website through EPiServer's NuGet feed.
The editor can be used to edit any string property, or a complex property (i.e. block type) with two float properties called Longitude and Latitude:
How to use
Install the EPiServer.GoogleMapsEditor package from the EPiServer NuGet feed:
To enable the editor for a property, simply create an editor descriptor or add a ClientEditor attribute setting the editor class (i.e. dijit type) to “tedgustaf.googlemaps.Editor”:
You are now able to specify coordinates by right-clicking a map, or by searching for an address or location using Google Places:
Should the need arise, the custom editor can always be removed, leaving readable and editable property values: