Skip to content

Releases: DivanDesign/EvolutionCMS.snippets.ddYMap

Version 1.6.2

08 Jul 17:08
Compare
Choose a tag to compare
  • * 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.

Version 1.6.1

08 Jul 17:06
Compare
Choose a tag to compare
  • * 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):
    • * docFieldgeoPos_docField.
    • * docIdgeoPos_docId.

Version 1.6

08 Jul 17:05
Compare
Choose a tag to compare
  • + Parameters → scriptsLocation: The new parameter. Indicating where JS scripts are included.
  • * Fixed Javascript error Mixed Content: the content must be served over HTTPS.

Version 1.5

08 Jul 17:05
Compare
Choose a tag to compare
  • * 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 by empty instead of isset.

Version 1.4.2

08 Jul 17:05
Compare
Choose a tag to compare
  • * Wrong variable name has been fixed.

Version 1.4.1

08 Jul 17:04
Compare
Choose a tag to compare
  • * jQuery.ddYMap has been updated to 1.3.1.

Version 1.4

08 Jul 17:04
Compare
Choose a tag to compare
  • * 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):
    • * getFielddocField.
    • * getIddocId.
  • * The 2.1 version of Yandex. Maps API is used.
  • * jQuery.ddYMap has been updated to 1.3.

Version 1.3

08 Jul 17:03
Compare
Choose a tag to compare
  • + 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.

Version 1.2

08 Jul 17:03
Compare
Choose a tag to compare
  • * 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'.
  • * 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 the ddGetDocumentField snippet.
  • * The fractional values bug of the icon offset has been fixed.

Version 1.1.1

08 Jul 17:03
Compare
Choose a tag to compare
  • + 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.