jsdoc

$.ui.simplicityBingMap

Namespace $.ui.simplicityBingMap

A Bing map.

Bing Map widget that creates the map and listens for simplicitySearchResponse events which it uses to add markers to the map for the search results.
Defined in: ui.simplicityBingMap.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
$.ui.simplicityBingMap.options
Widget options.
Method Summary
Method Attributes Method Name and Description
<private> <static>  
$.ui.simplicityBingMap._initWhenAvailable()
Lazy initialization method used to create the map only when the necessary JavaScript is available.
<static>  
$.ui.simplicityBingMap.map()
Return the actual map object.
Namespace Detail
$.ui.simplicityBingMap
  <div id="map" style="position: absolute; width: 300px; height: 300px;"></div>
  <script type="text/javascript">
    $('#map').simplicityBingMap({
      credentials: 'Your credentials go here'
    });
  </script>
See:
Bing Maps AJAX Control v7 documentation.
Field Detail
<static> $.ui.simplicityBingMap.options
Widget options.
map
Optional map instance, if not provided one will be created. Defaults to ''.
credentials
Mandatory option that contains your Bing credentials.
mapOptions
Options used when creating the map. Defaults to '' which is expanded at runtime to
    {
      center: new Microsoft.Maps.Location(0, 0),
      zoom: 1,
      mapTypeId: Microsoft.Maps.MapTypeId.road
    }
    
Can be either an Object or a function.
Method Detail
<private> <static> $.ui.simplicityBingMap._initWhenAvailable()
Lazy initialization method used to create the map only when the necessary JavaScript is available. Intended to be called from any of this widgets public methods that need to access the this._map.

<static> $.ui.simplicityBingMap.map()
Return the actual map object.

Documentation generated by JsDoc Toolkit 2.4.0