fix: 修改symbol要素在限制层级下依然显示的问题
This commit is contained in:
@@ -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
Submodule vtm updated: ee9314039e...c74bcd29c2
Reference in New Issue
Block a user