Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Удаление меток при поиске #3

Open
kalinichenko88 opened this issue Jul 27, 2017 · 2 comments
Open

Удаление меток при поиске #3

kalinichenko88 opened this issue Jul 27, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@kalinichenko88
Copy link

При использовании поиска на карте удаляются все метки

Создаю в записях больше одной метки, а остается последняя введенная.

@kalinichenko88 kalinichenko88 self-assigned this Jul 27, 2017
@kalinichenko88 kalinichenko88 modified the milestone: 1.4 Jul 27, 2017
@neatek
Copy link

neatek commented Aug 16, 2018

Поиск стирает установленные метки

@neatek
Copy link

neatek commented Aug 16, 2018

Решение - Закомментировать 2 строчки

            search_controll.events.add('resultselect', function () {
                /*$map.geoObjects.removeAll(); - Вот тут */
                save_map();
            });

            /// Geo location button

            var geo_control = $map.controls.get('geolocationControl');
            geo_control.events.add('locationchange', function () {
                /*$map.geoObjects.removeAll(); - и Вот тут */
                save_map();
            });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants