2 votes

This project is marked as retired

This package was designed to work with Umbraco v5 only.
Due to the discontinuation of Umbraco v5, this has been retired.

Google Maps

Description

This package installs a Google Maps Property Editor plugin into your Umbraco V5 website. That will allow you to save a location on a map along with the zoom level. In addition there is a search box with autocomplete allowing you to search alot easier for a location.

A big note goes to Lee Messenger, who made a great tutorial on how to create V5 property editors that I was able to even follow along and create a property editor.

www.blogfodder.co.uk/.../creating-a-google-map-property-editor-for-umbraco-v5
www.blogfodder.co.uk/.../extending-the-google-maps-property-editor-in-umbraco-v5

Documentation

The property has six values that you can retrieve from it to use in your Razor code:

  • Lat
  • Long
  • ZoomValue
  • LatLongCombined
  • LatLongZoomCombined
  • Postcode

For example if your current page has the Google Map property with the alias of 'location' you could for example retrieve the value of LatLongZoomCombined which is a CSV string that you could pass to a JavaScript function to display the location on a Google Map.

@DynamicModel.location.LatLongZoomCombined

PreValues

Prevalues are the settings for the property editor when you create the Data Type in the Developer section of Umbraco. To configure the Google Map you need the following settings setup: 

 

 

Releases

1.0.0 - Initial Release
1.0.1 - Fixes Decimal Validation for regions where comma is used for decimals

 

Screenshots

Project owner

Warren Buckley

Warren Buckley

Warren has 4440 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Warren Buckley
  • Contributors: Lee Kelleher , Lee
  • Created: 16/04/2012
  • Current version 1.0.1
  • .net Version 4.0
  • License MIT
  • Downloads: 2662

External resources