Skip to content

Commit 41986b9

Browse files
committed
change vector settings to clamp data at z15 by default
change all demo scenes to use z15 vector data
1 parent 4851168 commit 41986b9

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

Runtime/Mapbox/BaseModule/Map/VectorSourceSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ public class VectorSourceSettings
1111
public int CacheSize = 100;
1212

1313
[Tooltip("Maximum data level that'll be used for this module. Tiles can be higher zoom level but data will be lower level.")]
14-
public int ClampDataLevelToMax = 16;
14+
public int ClampDataLevelToMax = 15;
1515
}
1616
}

Runtime/Mapbox/DirectionsApi/Samples~/DirectionsApiDemo/DirectionsDemo.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ MonoBehaviour:
970970
LoadBackgroundData: 1
971971
DataSettings:
972972
CacheSize: 100
973-
ClampDataLevelToMax: 16
973+
ClampDataLevelToMax: 15
974974
RejectTilesOutsideZoom: {x: 12, y: 16}
975975
_layerVisualizers:
976976
- {fileID: 11400000, guid: 85847af429cbb4b0fbc10700e4f3f9f4, type: 2}

Runtime/Mapbox/GeocodingApi/Samples~/GeocodingApiDemo/GeocodingDemo.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ MonoBehaviour:
15091509
LoadBackgroundData: 1
15101510
DataSettings:
15111511
CacheSize: 100
1512-
ClampDataLevelToMax: 16
1512+
ClampDataLevelToMax: 15
15131513
RejectTilesOutsideZoom: {x: 12, y: 16}
15141514
_layerVisualizers:
15151515
- {fileID: 11400000, guid: e5396ff8e8f234206aa21e18e947b635, type: 2}

Samples~/LocationBasedGame/LocationGame.unity

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3233,6 +3233,10 @@ PrefabInstance:
32333233
propertyPath: m_Name
32343234
value: Map
32353235
objectReference: {fileID: 0}
3236+
- target: {fileID: 7512784584146348568, guid: 5cfb21e958bce467e966040b1be49240, type: 3}
3237+
propertyPath: vectorModuleSettings.DataSettings.ClampDataLevelToMax
3238+
value: 15
3239+
objectReference: {fileID: 0}
32363240
- target: {fileID: 7512784584146348570, guid: 5cfb21e958bce467e966040b1be49240, type: 3}
32373241
propertyPath: m_RootOrder
32383242
value: 1

Samples~/WorldMapViewer/Map.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ MonoBehaviour:
781781
LoadBackgroundData: 1
782782
DataSettings:
783783
CacheSize: 100
784-
ClampDataLevelToMax: 16
784+
ClampDataLevelToMax: 15
785785
RejectTilesOutsideZoom: {x: 12, y: 16}
786786
_layerVisualizers:
787787
- {fileID: 11400000, guid: 93ded54f2ef0640809b3d199fe06e961, type: 2}

0 commit comments

Comments
 (0)