Skip to content

Version 2.0

Compare
Choose a tag to compare
@Ronef Ronef released this 21 May 21:53
· 3 commits to master since this release
  • * 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.