Releases: DivanDesign/jQuery.ddMap
Releases · DivanDesign/jQuery.ddMap
Version 2.1
Version 2.0
- * The library has been renamed from
ddYMaptoddMap:jQuery.fn.ddYMap→jQuery.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
resizeevent 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.placemarks→params.markers. - *
params.placemarkOptions→params.markerOptions.
- *
- -
params.zoom,params.latLng: The outdated names are no longer supported, useparams.defaultZoomandparams.placemarksinstead.
- +
- + Events →
ddBeforeInit: The new event. - + README, README_ru.
- + CHANGELOG, CHANGELOG_ru.
- * Attention! Backward compatibility is broken.
Version 1.4
- + 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
- * 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
- * Be advised! The 2.1 version of Yandex Maps API is used!
- + The new
geolocationandfull screencontrols 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 parameter has been renamed from
- + The map object (an instance of
ymaps.Map) is now stored inside of the 'ddYmap' property of the map container (the one thatjQuery.fn.ddYMapis 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
- + 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 fromzoom(the old name is still can be used, but it's recommended to use the new one).
Version 1.1
- + The
jQuery.fn.ddYMapmethod has been added. The internal methodjQuery.ddYMap.initis not recommended to use. - + The
params.defaultTypeparameter which allows to set default map type has been added. - - The redundant parameter
params.elementIdhas been removed. - * The internal variable
elementIdhas been ranamed aselement.
Version 1.0
- + The first release.