Fix issue with polygons

This commit is contained in:
Victor Shcherb 2012-05-28 19:41:16 +02:00
parent 74e87f932f
commit 93dde790b9
3 changed files with 10 additions and 6 deletions

View file

@ -1039,6 +1039,7 @@ public class BinaryMapIndexReader {
dataObject.additionalTypes = new int[0];
}
dataObject.id = id;
dataObject.area = area;
dataObject.mapIndex = root;
return dataObject;
}

View file

@ -108,6 +108,7 @@
<filter tag="power" value="minor_line" order="68"/>
<filter layer="1" tag="railway" value="" order="66"/>
<filter tag="railway" value="" order="58"/>
<filter tag="public_transport" value="" order="58"/>
<filter layer="1" tag="waterway" value="" order="66"/>
<filter tag="waterway" value="" order="18"/>
@ -136,8 +137,8 @@
<filter tag="highway" value="road" order="52"/>
<filter layer="1" tag="highway" value="unclassified" order="66"/>
<filter tag="highway" value="unclassified" order="52"/>
<filter layer="1" tag="highway" value="residential" order="66"/>
<filter tag="highway" value="residential" order="51"/>
<filter layer="1" tag="highway" value="residential" order="66" area="false"/>
<filter tag="highway" value="residential" order="51" area="false"/>
<filter layer="1" tag="highway" value="service" order="66" />
<filter tag="highway" value="service" order="51"/>
<filter layer="1" tag="highway" value="living_street" order="66"/>
@ -783,7 +784,7 @@
<filter tag="highway" value="road"/>
<filter tag="highway" value="unclassified"/>
<filter tag="highway" value="residential"/>
<groupFilter color="#ffffff" color_2="#464646" minzoom="12" strokeWidth_2="1">
<groupFilter color="#ffffff" color_2="#bababa" minzoom="12" strokeWidth_2="1">
<filter nightMode="true" color="#9f9f9f"/>
</groupFilter>
</group>
@ -793,8 +794,8 @@
<filter tag="highway" value="pedestrian"/>
<filter tag="highway" value="footway"/>
<groupFilter>
<filter minzoom="14" color="#ECECEC" color_2="#464646" strokeWidth_2="0.5"/>
<filter hmRendered="true" minzoom="13" color="#ECECEC" color_2="#464646" strokeWidth_2="0.5"/>
<filter minzoom="14" color="#ECECEC" color_2="#bababa" strokeWidth_2="0.5"/>
<filter hmRendered="true" minzoom="13" color="#ECECEC" color_2="#bababa" strokeWidth_2="0.5"/>
</groupFilter>
</group>
@ -1351,6 +1352,7 @@
<filter tag="railway" value="funicular" minzoom="15" color="#666666" strokeWidth="2"/>
<filter tag="railway" value="platform" minzoom="15" color="#888888" strokeWidth="3"/>
<filter tag="public_transport" value="platform" minzoom="15" color="#888888" strokeWidth="3"/>
<!-- Aeroways -->
<filter tag="aeroway" value="runway" color="#bbbbcc">

View file

@ -502,6 +502,7 @@ MapDataObject* readMapDataObject(CodedInputStream* input, MapTreeBounds* tree, S
dataObject->additionalTypes = additionalTypes;
dataObject->types = types;
dataObject->id = id;
dataObject->area = area;
dataObject->stringIds = stringIds;
dataObject->polygonInnerCoordinates = innercoordinates;