Fix hamlet rendering

This commit is contained in:
Victor Shcherb 2011-10-26 23:52:57 +02:00
parent 65036831a9
commit a56e84ab13
2 changed files with 2 additions and 3 deletions

View file

@ -63,7 +63,6 @@ public class RenderingRuleSearchRequest {
System.arraycopy(savedFvalues, 0, fvalues, 0, fvalues.length);
}
// USED in C
public void clearValue(RenderingRuleProperty p) {
if(p.isIntParse()){
values[p.getId()] = savedValues[p.getId()];
@ -72,8 +71,6 @@ public class RenderingRuleSearchRequest {
}
}
// USED in C
public void setInitialTagValueZoom(String tag, String val, int zoom){
clearState();
setIntFilter(ALL.R_MINZOOM, zoom);

View file

@ -267,6 +267,8 @@ public class MapRenderRepositories {
return true;
}
if (mask == RenderingRulesStorage.POINT_RULES) {
renderingReq.setStringFilter(renderingReq.ALL.R_TAG, pair.tag);
renderingReq.setStringFilter(renderingReq.ALL.R_VALUE, pair.value);
if (renderingReq.search(RenderingRulesStorage.TEXT_RULES, false)) {
return true;
}