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

Fix route_to link #572

Merged
merged 4 commits into from
Apr 2, 2024
Merged

Fix route_to link #572

merged 4 commits into from
Apr 2, 2024

Conversation

kalyanov
Copy link
Contributor

No description provided.

@kalyanov kalyanov requested a review from Kuznecoff March 30, 2024 16:23
ne = DG.latLng(54.97441793550156, 80.59262982606889),
// тут должен быть баунд территории, которая не содержить проекта,
// при этом такой, что при призуме к нему будет зум > 16
var sw = DG.latLng(67.521706581271, 97.5729274749756),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На территории предыдущего баунда появился проект, тест перестал работать

@@ -165,7 +168,7 @@ describe('DG.ProjectDetectorIn', function () {
map.setView(project1, 17);

expect(map.setZoomAround(project2, maxZoom)).to.be(map);
expect(map.getZoom()).to.be(maxDesertZoom);
expect(map.getZoom()).to.be(maxZoom);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вообще на территории с проектом maxZoom 18 должен быть, странно что раньше с что раньше работало с зумом для территории без проекта. Ниже тоже самое.

desert2 = new DG.LatLng(61.00, 360 + 90.00);
// Где-то в лесу, там где нет проекта
desert1 = new DG.LatLng(59.56, 360 + 86.32);
desert2 = new DG.LatLng(65.38, 360 + 87.39);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

На передыдущих точках появились проекты, сменил просто

@alxart alxart requested review from Farfurix and iv-berezin April 1, 2024 08:50
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если на карте несколько маркеров, то будет кнопка "Открыть в 2ГИС"

@kalyanov kalyanov merged commit d7352ae into master Apr 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants