FSN#35338 label zichtbaar/onzichtbaar is net andersom
svn path=/Website/trunk/; revision=29022
This commit is contained in:
@@ -335,7 +335,7 @@ function labelThema(cHandle, labelProps)
|
||||
photo_x = cnt.Center.DwgX;
|
||||
photo_y = cnt.Center.DwgY;
|
||||
}
|
||||
if (cnt && zichtbaar && !labelCleared[oRs("Key").Value])
|
||||
if (cnt && !zichtbaar && !labelCleared[oRs("Key").Value])
|
||||
{
|
||||
cnt.Label = "";
|
||||
labelCleared[oRs("Key").Value] = true;
|
||||
|
||||
@@ -239,7 +239,7 @@ function myContourProcessor(cHandle)
|
||||
var lh = (ls * 100 / S("fg_inLabelSize") ).toFixed(0);
|
||||
var lhs = "[s" + lh + "]";
|
||||
oRs.Close();
|
||||
if (zichtbaar) // dan de default teksten wissen
|
||||
if (!zichtbaar) // dan de default teksten wissen
|
||||
{
|
||||
for (var i=0; i < cHandle.ContourCount; i++)
|
||||
{
|
||||
@@ -282,7 +282,7 @@ function myContourProcessor(cHandle)
|
||||
if (prevContour)
|
||||
{
|
||||
prevContour.Key = rkey;
|
||||
if (!zichtbaar)
|
||||
if (zichtbaar)
|
||||
prevContour.Label = "[u]"+rs_r("dbNummer").value;
|
||||
else
|
||||
prevContour.Label = "";
|
||||
|
||||
Reference in New Issue
Block a user