5 votes

Bing Maps Property Editor

This package is exclusively for V5 of Umbraco, so please do not try to install it in a version 4 Umbraco site.

Description

This package installs a Bing 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.

http://www.blogfodder.co.uk/2011/11/21/creating-a-google-map-property-editor-for-umbraco-v5
http://www.blogfodder.co.uk/2011/11/22/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 Bing 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 Bing Map or even 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 Bing Map you need the following settings setup:

  • Bing Maps API Key
    http://www.microsoft.com/maps/developers
  • Zoom Level (1 to 20)
  • Latitude
  • Longtitude
  • Width of map
  • Height of map

 

Releases

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

 

Screenshots

Package owner

Warren Buckley

Warren Buckley

Warren has 4836 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Warren Buckley
  • Created: 24/01/2012
  • Current version 1.0.1
  • License MIT
  • Downloads on Our: 1.5K