Our.Umbraco.GMaps.Core
3.0.2
dotnet add package Our.Umbraco.GMaps.Core --version 3.0.2
NuGet\Install-Package Our.Umbraco.GMaps.Core -Version 3.0.2
<PackageReference Include="Our.Umbraco.GMaps.Core" Version="3.0.2" />
paket add Our.Umbraco.GMaps.Core --version 3.0.2
#r "nuget: Our.Umbraco.GMaps.Core, 3.0.2"
// Install Our.Umbraco.GMaps.Core as a Cake Addin #addin nuget:?package=Our.Umbraco.GMaps.Core&version=3.0.2 // Install Our.Umbraco.GMaps.Core as a Cake Tool #tool nuget:?package=Our.Umbraco.GMaps.Core&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>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Umbraco.Cms.Web.Backoffice (>= 10.0.0 && < 13.999.0)
-
net7.0
- Umbraco.Cms.Web.Backoffice (>= 10.0.0 && < 13.999.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Our.Umbraco.GMaps.Core:
Package | Downloads |
---|---|
Our.Umbraco.GMaps
Basic Google Maps with autocomplete property editor for Umbraco 8+ |
|
N3O.Umbraco.Maps.Google
TODO |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.2 | 30,214 | 2/9/2024 |
3.0.1 | 338 | 2/9/2024 |
3.0.0 | 6,370 | 12/15/2023 |
3.0.0-pre2 | 454 | 12/5/2023 |
3.0.0-pre1 | 385 | 12/5/2023 |
2.1.4-pre1 | 1,572 | 2/27/2023 |
2.1.3 | 75,401 | 12/25/2022 |
2.1.2-rc1 | 1,407 | 11/30/2022 |
2.1.0 | 48,675 | 7/2/2022 |
2.0.7 | 1,195 | 7/1/2022 |
2.0.6 | 18,043 | 5/6/2022 |
2.0.6-pre001 | 569 | 5/6/2022 |
2.0.5 | 44,004 | 1/5/2022 |
2.0.4 | 5,039 | 1/3/2022 |
2.0.3 | 1,711 | 12/20/2021 |
2.0.3-pre003 | 624 | 12/20/2021 |
2.0.3-pre002 | 652 | 12/17/2021 |
2.0.3-pre001 | 636 | 12/17/2021 |
2.0.2 | 1,808 | 12/15/2021 |
2.0.1 | 1,784 | 12/15/2021 |
2.0.0 | 1,717 | 12/14/2021 |
2.0.0-pre1 | 703 | 12/13/2021 |
2.0.0-pre002 | 654 | 12/14/2021 |
1.2.1 | 23,735 | 8/22/2019 |
Now multi-targeting Umbraco 10 - 12