-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix route_to link #572
Conversation
ne = DG.latLng(54.97441793550156, 80.59262982606889), | ||
// тут должен быть баунд территории, которая не содержить проекта, | ||
// при этом такой, что при призуме к нему будет зум > 16 | ||
var sw = DG.latLng(67.521706581271, 97.5729274749756), |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
На передыдущих точках появились проекты, сменил просто
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Если на карте несколько маркеров, то будет кнопка "Открыть в 2ГИС"
No description provided.