fix: 修改symbol要素在限制层级下依然显示的问题
This commit is contained in:
parent
5d0ce1e4ce
commit
c2d47afed7
@ -72,7 +72,7 @@ class LayerManagerHandler(context: AppCompatActivity, mapView: NIMapView, traceP
|
|||||||
vectorNiLocationTileLayer = VectorTileLayer(mMapView.vtmMap, mapLifeNiLocationTileSource)
|
vectorNiLocationTileLayer = VectorTileLayer(mMapView.vtmMap, mapLifeNiLocationTileSource)
|
||||||
|
|
||||||
labelNiLocationLayer =
|
labelNiLocationLayer =
|
||||||
LabelLayer(mMapView.vtmMap, vectorNiLocationTileLayer, LabelTileLoaderHook(), 15)
|
LabelLayer(mMapView.vtmMap, vectorNiLocationTileLayer, LabelTileLoaderHook())
|
||||||
|
|
||||||
if (vectorNiLocationTileLayer != null) {
|
if (vectorNiLocationTileLayer != null) {
|
||||||
addLayer(vectorNiLocationTileLayer, NIMapView.LAYER_GROUPS.BASE)
|
addLayer(vectorNiLocationTileLayer, NIMapView.LAYER_GROUPS.BASE)
|
||||||
@ -110,8 +110,7 @@ class LayerManagerHandler(context: AppCompatActivity, mapView: NIMapView, traceP
|
|||||||
omdbReferenceLabelLayer = LabelLayer(
|
omdbReferenceLabelLayer = LabelLayer(
|
||||||
mMapView.vtmMap,
|
mMapView.vtmMap,
|
||||||
omdbReferenceTileLayer,
|
omdbReferenceTileLayer,
|
||||||
LabelTileLoaderHook(),
|
LabelTileLoaderHook()
|
||||||
Constant.OMDB_MIN_ZOOM
|
|
||||||
)
|
)
|
||||||
if (omdbReferenceTileLayer != null) {
|
if (omdbReferenceTileLayer != null) {
|
||||||
addLayer(omdbReferenceTileLayer, NIMapView.LAYER_GROUPS.VECTOR_TILE)
|
addLayer(omdbReferenceTileLayer, NIMapView.LAYER_GROUPS.VECTOR_TILE)
|
||||||
@ -124,8 +123,7 @@ class LayerManagerHandler(context: AppCompatActivity, mapView: NIMapView, traceP
|
|||||||
omdbLabelLayer = LabelLayer(
|
omdbLabelLayer = LabelLayer(
|
||||||
mMapView.vtmMap,
|
mMapView.vtmMap,
|
||||||
omdbVectorTileLayer,
|
omdbVectorTileLayer,
|
||||||
LabelTileLoaderHook(),
|
LabelTileLoaderHook()
|
||||||
Constant.OMDB_MIN_ZOOM
|
|
||||||
)
|
)
|
||||||
if (omdbVectorTileLayer != null) {
|
if (omdbVectorTileLayer != null) {
|
||||||
addLayer(omdbVectorTileLayer, NIMapView.LAYER_GROUPS.VECTOR_TILE)
|
addLayer(omdbVectorTileLayer, NIMapView.LAYER_GROUPS.VECTOR_TILE)
|
||||||
|
2
vtm
2
vtm
@ -1 +1 @@
|
|||||||
Subproject commit ee9314039e20ccdec4c126353e6136903ba01d08
|
Subproject commit c74bcd29c24cddf395fa9654ef0b69d0c88ac3ad
|
Loading…
x
Reference in New Issue
Block a user