From a47d9bff80aa2404a3e9a024ead18477dd8161ff Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Tue, 27 Feb 2024 18:30:50 +0400 Subject: [PATCH] Prerelease --- CHANGELOG.md | 4 ++++ CHANGELOG_ru.md | 4 ++++ README.md | 2 +- README_ru.md | 2 +- jQuery.ddMap.js | 4 ++-- jQuery.ddMap.min.js | 1 + 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f94b303..c8c857a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # jQuery.ddMap changelog +## Version 2.1 (2024-02-27) +* \+ Parameters → `params.markers[i].icon`: The new optional parameter. Allows you to customaize marker icons. + + ## Version 2.0 (2023-05-22) * \* The library has been renamed from `ddYMap` to `ddMap`: `jQuery.fn.ddYMap` → `jQuery.fn.ddMap`. * \+ You may not to think about including Yandex Map script, the library will do it automatically. diff --git a/CHANGELOG_ru.md b/CHANGELOG_ru.md index de37293..9e732db 100644 --- a/CHANGELOG_ru.md +++ b/CHANGELOG_ru.md @@ -1,6 +1,10 @@ # jQuery.ddMap changelog +## Версия 2.1 (2024-02-27) +* \+ Параметры → `params.markers[i].icon`: Новый опциональный параметр. Позволяет кастомизировать иконки маркеров. + + ## Версия 2.0 (2023-05-22) * \* Библиотека переименована из `ddYMap` в `ddMap`: `jQuery.fn.ddYMap` → `jQuery.fn.ddMap`. * \+ Можно не думать о подключении скрипта Яндекс Карт, библиотека сделает это автоматически. diff --git a/README.md b/README.md index 1bfdde7..73c8ff0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Features: - + ``` You may not to think about including Yandex Map script, the library will do it automatically. diff --git a/README_ru.md b/README_ru.md index 09b7c33..089e8a4 100644 --- a/README_ru.md +++ b/README_ru.md @@ -27,7 +27,7 @@ - + ``` Можно не думать о подключении скрипта Яндекс Карт, библиотека сделает это автоматически. diff --git a/jQuery.ddMap.js b/jQuery.ddMap.js index 96db3fc..160caf7 100644 --- a/jQuery.ddMap.js +++ b/jQuery.ddMap.js @@ -1,12 +1,12 @@ /** * jQuery.ddMap - * @version 2.0 (2023-05-22) + * @version 2.1 (2024-02-27) * * @see {@link README.md} * * @link https://code.divandesign.ru/jquery/ddmap * - * @copyright 2013–2023 [Ronef]{@link https://Ronef.ru } + * @copyright 2013–2024 [Ronef]{@link https://Ronef.ru } */ (function($){ diff --git a/jQuery.ddMap.min.js b/jQuery.ddMap.min.js index c4bf811..881ee99 100644 --- a/jQuery.ddMap.min.js +++ b/jQuery.ddMap.min.js @@ -1 +1,2 @@ +/* jQuery.ddMap v2.1 (2024-02-27) | © https://Ronef.ru */ !function(e){class t{static isStaticInited=!1;static initStatic(t){if(!this.isStaticInited&&(this.isStaticInited=!0,"undefined"==typeof ymaps)){var n="//api-maps.yandex.ru/2.1/?lang="+navigator.language;t.apiKey.length>0&&(n+="&apikey="+t.apiKey),e("head").append('