Skip to content

Releases: DivanDesign/jQuery.ddMap

Version 2.1

27 Feb 14:34
Compare
Choose a tag to compare
  • + Parameters → params.markers[i].icon: The new optional parameter. Allows you to customaize marker icons.

Version 2.0

21 May 21:53
Compare
Choose a tag to compare
  • * The library has been renamed from ddYMap to ddMap: jQuery.fn.ddYMapjQuery.fn.ddMap.
  • + You may not to think about including Yandex Map script, the library will do it automatically.
  • + The map size will be automatically updated each time the resize event will be triggered on the main container.
  • + All children of the main element will be deleted during initialisation.
  • + If Yandex Map API is not loaded, the script will await it.
  • * Parameters:
    • + params.apiKey: The new parameter. Yandex Maps API key. For now it is working without key, but Yandex mark it as required, so it is recommended to set it.
    • * The following have been renamed:
      • * params.placemarksparams.markers.
      • * params.placemarkOptionsparams.markerOptions.
    • - params.zoom, params.latLng: The outdated names are no longer supported, use params.defaultZoom and params.placemarks instead.
  • + Events → ddBeforeInit: The new event.
  • + README, README_ru.
  • + CHANGELOG, CHANGELOG_ru.
  • * Attention! Backward compatibility is broken.

Version 1.4

21 May 21:53
Compare
Choose a tag to compare
  • + Parameters → controls: The new optional parameter. It is an array of controls to be added onto the map.
  • + Parameters → mapOptions: The new optional parameter. It represents yandex map options to be passed to the constructor.

Version 1.3.1

21 May 21:52
Compare
Choose a tag to compare
  • * Hidden map with the several placemarks will be positioned on the first show.
  • * Empty height of the map element will be set to 400px.

Version 1.3

21 May 21:52
Compare
Choose a tag to compare
  • * Be advised! The 2.1 version of Yandex Maps API is used!
  • + The new geolocation and full screen controls have been added onto map.
  • * Parameters → placemarks:
    • * The parameter has been renamed from latLng (the old name is still can be used, but it's recommended to use the new one).
    • + Now can be either an array of placemarks or a pair of coordinates. Each placemark can have its position as well as a tip that appears when clicked. The parameter can be, as before, a coordinate pair for the map center.
  • + The map object (an instance of ymaps.Map) is now stored inside of the 'ddYmap' property of the map container (the one that jQuery.fn.ddYMap is applied to) via the jQuery.fn.data method of JQuery.
  • + Events → ddAfterInit: The new event. It's attached to the map container and will be triggered after the map has been initialized.

Version 1.2

21 May 21:52
Compare
Choose a tag to compare
  • + Parameters → mapCenterOffset: The new optional parameter. It allows center offset of the map to be set in pixels with respect to the center of the map container.
  • * Parameters → defaultZoom: The parameter has been renamed from zoom (the old name is still can be used, but it's recommended to use the new one).

Version 1.1

21 May 21:51
Compare
Choose a tag to compare
  • + The jQuery.fn.ddYMap method has been added. The internal method jQuery.ddYMap.init is not recommended to use.
  • + The params.defaultType parameter which allows to set default map type has been added.
  • - The redundant parameter params.elementId has been removed.
  • * The internal variable elementId has been ranamed as element.

Version 1.0

21 May 21:51
Compare
Choose a tag to compare
  • + The first release.