Fix issue with polygons
This commit is contained in:
parent
74e87f932f
commit
93dde790b9
3 changed files with 10 additions and 6 deletions
|
@ -1039,6 +1039,7 @@ public class BinaryMapIndexReader {
|
||||||
dataObject.additionalTypes = new int[0];
|
dataObject.additionalTypes = new int[0];
|
||||||
}
|
}
|
||||||
dataObject.id = id;
|
dataObject.id = id;
|
||||||
|
dataObject.area = area;
|
||||||
dataObject.mapIndex = root;
|
dataObject.mapIndex = root;
|
||||||
return dataObject;
|
return dataObject;
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,6 +108,7 @@
|
||||||
<filter tag="power" value="minor_line" order="68"/>
|
<filter tag="power" value="minor_line" order="68"/>
|
||||||
<filter layer="1" tag="railway" value="" order="66"/>
|
<filter layer="1" tag="railway" value="" order="66"/>
|
||||||
<filter tag="railway" value="" order="58"/>
|
<filter tag="railway" value="" order="58"/>
|
||||||
|
<filter tag="public_transport" value="" order="58"/>
|
||||||
<filter layer="1" tag="waterway" value="" order="66"/>
|
<filter layer="1" tag="waterway" value="" order="66"/>
|
||||||
<filter tag="waterway" value="" order="18"/>
|
<filter tag="waterway" value="" order="18"/>
|
||||||
|
|
||||||
|
@ -136,9 +137,9 @@
|
||||||
<filter tag="highway" value="road" order="52"/>
|
<filter tag="highway" value="road" order="52"/>
|
||||||
<filter layer="1" tag="highway" value="unclassified" order="66"/>
|
<filter layer="1" tag="highway" value="unclassified" order="66"/>
|
||||||
<filter tag="highway" value="unclassified" order="52"/>
|
<filter tag="highway" value="unclassified" order="52"/>
|
||||||
<filter layer="1" tag="highway" value="residential" order="66"/>
|
<filter layer="1" tag="highway" value="residential" order="66" area="false"/>
|
||||||
<filter tag="highway" value="residential" order="51"/>
|
<filter tag="highway" value="residential" order="51" area="false"/>
|
||||||
<filter layer="1" tag="highway" value="service" order="66"/>
|
<filter layer="1" tag="highway" value="service" order="66" />
|
||||||
<filter tag="highway" value="service" order="51"/>
|
<filter tag="highway" value="service" order="51"/>
|
||||||
<filter layer="1" tag="highway" value="living_street" order="66"/>
|
<filter layer="1" tag="highway" value="living_street" order="66"/>
|
||||||
<filter tag="highway" value="living_street" order="50"/>
|
<filter tag="highway" value="living_street" order="50"/>
|
||||||
|
@ -783,7 +784,7 @@
|
||||||
<filter tag="highway" value="road"/>
|
<filter tag="highway" value="road"/>
|
||||||
<filter tag="highway" value="unclassified"/>
|
<filter tag="highway" value="unclassified"/>
|
||||||
<filter tag="highway" value="residential"/>
|
<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"/>
|
<filter nightMode="true" color="#9f9f9f"/>
|
||||||
</groupFilter>
|
</groupFilter>
|
||||||
</group>
|
</group>
|
||||||
|
@ -793,8 +794,8 @@
|
||||||
<filter tag="highway" value="pedestrian"/>
|
<filter tag="highway" value="pedestrian"/>
|
||||||
<filter tag="highway" value="footway"/>
|
<filter tag="highway" value="footway"/>
|
||||||
<groupFilter>
|
<groupFilter>
|
||||||
<filter minzoom="14" 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="#464646" strokeWidth_2="0.5"/>
|
<filter hmRendered="true" minzoom="13" color="#ECECEC" color_2="#bababa" strokeWidth_2="0.5"/>
|
||||||
</groupFilter>
|
</groupFilter>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
@ -1351,6 +1352,7 @@
|
||||||
<filter tag="railway" value="funicular" minzoom="15" color="#666666" strokeWidth="2"/>
|
<filter tag="railway" value="funicular" minzoom="15" color="#666666" strokeWidth="2"/>
|
||||||
|
|
||||||
<filter tag="railway" value="platform" minzoom="15" color="#888888" strokeWidth="3"/>
|
<filter tag="railway" value="platform" minzoom="15" color="#888888" strokeWidth="3"/>
|
||||||
|
<filter tag="public_transport" value="platform" minzoom="15" color="#888888" strokeWidth="3"/>
|
||||||
|
|
||||||
<!-- Aeroways -->
|
<!-- Aeroways -->
|
||||||
<filter tag="aeroway" value="runway" color="#bbbbcc">
|
<filter tag="aeroway" value="runway" color="#bbbbcc">
|
||||||
|
|
|
@ -502,6 +502,7 @@ MapDataObject* readMapDataObject(CodedInputStream* input, MapTreeBounds* tree, S
|
||||||
dataObject->additionalTypes = additionalTypes;
|
dataObject->additionalTypes = additionalTypes;
|
||||||
dataObject->types = types;
|
dataObject->types = types;
|
||||||
dataObject->id = id;
|
dataObject->id = id;
|
||||||
|
dataObject->area = area;
|
||||||
dataObject->stringIds = stringIds;
|
dataObject->stringIds = stringIds;
|
||||||
dataObject->polygonInnerCoordinates = innercoordinates;
|
dataObject->polygonInnerCoordinates = innercoordinates;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue