Our.Umbraco.GMaps 2.1.2-rc1

This is a prerelease version of Our.Umbraco.GMaps.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Our.Umbraco.GMaps --version 2.1.2-rc1
NuGet\Install-Package Our.Umbraco.GMaps -Version 2.1.2-rc1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Our.Umbraco.GMaps" Version="2.1.2-rc1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Umbraco.GMaps --version 2.1.2-rc1
#r "nuget: Our.Umbraco.GMaps, 2.1.2-rc1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Our.Umbraco.GMaps as a Cake Addin
#addin nuget:?package=Our.Umbraco.GMaps&version=2.1.2-rc1&prerelease

// Install Our.Umbraco.GMaps as a Cake Tool
#tool nuget:?package=Our.Umbraco.GMaps&version=2.1.2-rc1&prerelease

Our.Umbraco.GMaps - Google Maps for Umbraco 8+

Our.Umbraco.GMaps Logo

Basic Google Maps with autocomplete property editor for Umbraco 8+ including property value converter.

Change Log

  • 2.1.0: Breaking change - MapConfig.Zoom is now an int as it should be (was a string).
  • 2.0.7: Added ability to re-center the map via Editor Actions and can now directly input a set of coordinates.

Features

  • Search for address using autocomplete and place marker
  • Enter coordinates in place marker
  • Click on exact location on map to place marker
  • Drag marker around
  • Set default location & zoomlevel on Data Type settings
  • Zoomlevel is saved on the property to use the same zoomlevel on your website
  • Centerpoint is saved on the property to use the same centerpoint on your website different than the marker.
  • MapType is saved on the property to use the same maptype on your website
  • Use your SnazzyMaps API key to set mapstyles

Install

Configuration

You can configure the API Key along with other settings directly in AppSettings as per below:

Umbraco 8

Add the following keys to your web.config AppSettings node:

 
 <add key="GoogleMaps:ApiKey" value="" /> 
 <add key="GoogleMaps:DefaultLocation" value="" /> 
 <add key="GoogleMaps:DefaultZoom" value="17" /> 

Umbraco 9

Add the following to your appsettings.json file or equivalent settings provider (Azure KeyVault, Environment, etc.):

  "GoogleMaps": {
    "ApiKey": "",
    "DefaultLocation": "",
    "ZoomLevel": 17
  }

These settings can be overridden by configuring the relevant properties of the Data Type prevalues.

Special thanks

Special thanks to ronaldbarendse for contributing to this project #h5yr!

Special thanks to prjseal for the Visual Studio project setup and included demo-site #h5yr!

Special thanks to robertjf for contributing to this project and setting up the Release Workflow #h5yr!

Google maps icons created by Freepik - Flaticon<a href="https://www.flaticon.com/free-icons/google-maps" title="google maps icons">Google maps icons created by Freepik - Flaticon</a>

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Our.Umbraco.GMaps:

Package Downloads
N3O.Umbraco.Maps.Google.StaticAssets

TODO

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.3 623 12/25/2022
2.1.2-rc1 247 11/30/2022
2.1.0 15,985 7/2/2022
2.0.7 308 7/1/2022
2.0.6 7,491 5/6/2022
2.0.6-pre001 78 5/6/2022
2.0.5 19,754 1/5/2022
2.0.4 1,882 1/3/2022
2.0.3 707 12/20/2021
2.0.3-pre003 97 12/20/2021
2.0.3-pre002 94 12/17/2021
2.0.3-pre001 116 12/17/2021
2.0.2 766 12/15/2021
2.0.1 715 12/15/2021
2.0.0 728 12/14/2021
2.0.0-pre1 123 12/13/2021
2.0.0-pre002 102 12/14/2021
1.3.3 54,367 9/10/2020
1.3.2 12,310 6/29/2020
1.3.1 31,979 11/28/2019
1.2.0 2,168 8/22/2019
1.1.1 397 8/20/2019
1.1.0 409 8/20/2019
1.0.3 388 8/19/2019
1.0.2 408 8/19/2019
1.0.1 394 8/19/2019
1.0.0 399 8/19/2019

Improvements to Property Editor