- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.40.1 is required (not tested in older versions).
- * Improved compatibility with new versions of (MODX)EvolutionCMS.libraries.ddTools.
- * The
defer
attribute is used only for external scripts (closes #2). - * Repository file structure was changed.
- + README.
- + README_ru.
- + CHANGELOG.
- + CHANGELOG_ru.
- + Composer.json.
- * Attention! PHP >= 5.4 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.21 is required.
- * Parameters: The following have been renamed (the snippet works with the old names but they are deprecated):
- *
docField
→geoPos_docField
. - *
docId
→geoPos_docId
.
- *
- + Parameters →
scriptsLocation
: The new parameter. Indicating where JS scripts are included. - * Fixed Javascript error
Mixed Content: the content must be served over HTTPS
.
- * Parameters:
- *
lang
: The new parameter. Setting the locale determines the language that map texts and controls are displayed in, the preferred language for returning map search results, and the default measurement units. - *
mapElement
: The parameter is checked byempty
instead ofisset
.
- *
- * Wrong variable name has been fixed.
- * jQuery.ddYMap has been updated to 1.3.1.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.12 is required.
- * Parameters: The following have been renamed (the snippet works with the old names but they are deprecated):
- *
getField
→docField
. - *
getId
→docId
.
- *
- * The 2.1 version of Yandex. Maps API is used.
- * jQuery.ddYMap has been updated to 1.3.
- + Parameters →
mapCenterOffset
: The new parameter. It allows center offset of the map to be set in pixels with respect to the center of the map container. - * jQuery.ddYMap has been updated to 1.2.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.11 is required.
- * Parameters:
- +
defaultType
: The new parameter which allows to set default map type has been added. - +
defaultZoom
: The new parameter which allows to set default map zoom has been added. - *
mapElement
:- * Has been ranamed from
mapElementId
. - + Now takes a custom jQuery selector instead of an id. Default value equals '#map'.
- * Has been ranamed from
- +
- * Absolute URL is used for referring to the jQuery.ddYMap library.
- * jQuery.ddYMap has been updated to 1.1.
- * The
ddTools:getTemplateVarOutput
method is used for getting field value instead of theddGetDocumentField
snippet. - * The fractional values bug of the icon offset has been fixed.
- + Parameters →
icon
: An URL can be passed as a value for the parameter. - + Multiple calls of the snippet on the same document are available now (inline script is included without explicit version pass).
- * The dollar sign isn’t used as a global variable to avoid conflicts with other js-libraries in inline script.
- + Parameters →
iconOffset
: The new parameter allowing an offset of the icon to be set. - * The
icon
path bug has been fixed. - *
isset($var) && $var != ''
was replaced with!empty($var)
in the position (geoPos
) and icon (icon
) validation conditions.
- + The first release.