Our.Umbraco.GMaps
3.0.2
dotnet add package Our.Umbraco.GMaps --version 3.0.2
NuGet\Install-Package Our.Umbraco.GMaps -Version 3.0.2
<PackageReference Include="Our.Umbraco.GMaps" Version="3.0.2" />
paket add Our.Umbraco.GMaps --version 3.0.2
#r "nuget: Our.Umbraco.GMaps, 3.0.2"
// Install Our.Umbraco.GMaps as a Cake Addin #addin nuget:?package=Our.Umbraco.GMaps&version=3.0.2 // Install Our.Umbraco.GMaps as a Cake Tool #tool nuget:?package=Our.Umbraco.GMaps&version=3.0.2
Our.Umbraco.GMaps - Google Maps for Umbraco
Basic Google Maps with autocomplete property editor for Umbraco 8+ including property value converter.
For Umbraco 8 or 9, use version 2.1.3
Change Log
- 3.0.0: Removed support for Umbraco 8 & 9, allowing us to cleanup the codebase. Now a Razor Class Library.
- 2.1.3: Better support for installation on Umbraco 11.
- 2.1.0: Breaking change -
MapConfig.Zoom
is now anint
as it should be (was astring
). - 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
- Enable the following Google Maps API on https://console.cloud.google.com/home/dashboard
- Maps Javascript API
- Geocoding API
- Place API
Configuration
You can configure the API Key along with other settings directly in AppSettings as per below:
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>
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Our.Umbraco.GMaps.Core (>= 3.0.2)
-
net7.0
- Our.Umbraco.GMaps.Core (>= 3.0.2)
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 |
---|---|---|
3.0.2 | 27,065 | 2/9/2024 |
3.0.1 | 214 | 2/9/2024 |
3.0.0 | 5,106 | 12/15/2023 |
3.0.0-pre2 | 191 | 12/5/2023 |
3.0.0-pre1 | 117 | 12/5/2023 |
2.1.4-pre1 | 1,120 | 2/27/2023 |
2.1.3 | 71,419 | 12/25/2022 |
2.1.2-rc1 | 942 | 11/30/2022 |
2.1.0 | 37,677 | 7/2/2022 |
2.0.7 | 569 | 7/1/2022 |
2.0.6 | 11,875 | 5/6/2022 |
2.0.6-pre001 | 270 | 5/6/2022 |
2.0.5 | 29,288 | 1/5/2022 |
2.0.4 | 4,247 | 1/3/2022 |
2.0.3 | 838 | 12/20/2021 |
2.0.3-pre003 | 265 | 12/20/2021 |
2.0.3-pre002 | 260 | 12/17/2021 |
2.0.3-pre001 | 303 | 12/17/2021 |
2.0.2 | 974 | 12/15/2021 |
2.0.1 | 899 | 12/15/2021 |
2.0.0 | 928 | 12/14/2021 |
2.0.0-pre1 | 315 | 12/13/2021 |
2.0.0-pre002 | 286 | 12/14/2021 |
1.3.3 | 82,597 | 9/10/2020 |
1.3.2 | 15,364 | 6/29/2020 |
1.3.1 | 38,669 | 11/28/2019 |
1.2.0 | 2,648 | 8/22/2019 |
1.1.1 | 504 | 8/20/2019 |
1.1.0 | 524 | 8/20/2019 |
1.0.3 | 492 | 8/19/2019 |
1.0.2 | 511 | 8/19/2019 |
1.0.1 | 499 | 8/19/2019 |
1.0.0 | 541 | 8/19/2019 |
Improvements to Property Editor