Fix #14991 TypeError in GIS editor
Apoorv Khare <apoorvkhare007@gmail.com> Signed-off-by: Apoorv Khare <apoorvkhare007@gmail.com>
This commit is contained in:
parent
d866c4b59a
commit
8e18959233
@ -35,7 +35,7 @@ function zoomAndPan () {
|
||||
$('circle.vector').each(function () {
|
||||
id = $(this).attr('id');
|
||||
circle = svg.getElementById(id);
|
||||
svg.change(circle, {
|
||||
$(svg).change(circle, {
|
||||
r : (3 / scale),
|
||||
'stroke-width' : (2 / scale)
|
||||
});
|
||||
@ -45,7 +45,7 @@ function zoomAndPan () {
|
||||
$('polyline.vector').each(function () {
|
||||
id = $(this).attr('id');
|
||||
line = svg.getElementById(id);
|
||||
svg.change(line, {
|
||||
$(svg).change(line, {
|
||||
'stroke-width' : (2 / scale)
|
||||
});
|
||||
});
|
||||
@ -54,7 +54,7 @@ function zoomAndPan () {
|
||||
$('path.vector').each(function () {
|
||||
id = $(this).attr('id');
|
||||
polygon = svg.getElementById(id);
|
||||
svg.change(polygon, {
|
||||
$(svg).change(polygon, {
|
||||
'stroke-width' : (0.5 / scale)
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user