Skip to content

Commit 83d8fba

Browse files
committed
Merge commit 'd54659b8f755250fe1f7cbe37ddb7461c9f90c88' into develop
* commit 'd54659b8f755250fe1f7cbe37ddb7461c9f90c88': Release/v1.4.2 (#772) Release/v1.4.1 (#682) # Conflicts: # sdkproject/Assets/Mapbox/Examples/1_DataExplorer/Scripts/TextMeshOutline.cs # sdkproject/Assets/Mapbox/Examples/Scripts/UpdateMapWithLocationProvider.cs # sdkproject/Assets/Mapbox/Unity/DataContainers/TileJsonData.cs # sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/VectorLayerPropertiesDrawer.cs # sdkproject/Assets/Mapbox/Unity/Location/DeviceLocationProviderAndroidNative.cs # sdkproject/Assets/Mapbox/Unity/Map/AbstractMap.cs # sdkproject/Assets/Mapbox/Unity/MeshGeneration/Modifiers/MeshModifiers/HeightModifier.cs # sdkproject/ProjectSettings/ProjectSettings.asset
2 parents 994693b + d54659b commit 83d8fba

File tree

8 files changed

+138
-138
lines changed

8 files changed

+138
-138
lines changed

sdkproject/Assets/Mapbox/Examples/1_DataExplorer/Scripts/TextMeshOutline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ Vector3 GetOffset(int i)
8888
}
8989
}
9090
}
91-
}
91+
}

sdkproject/Assets/Mapbox/Examples/Scripts/UpdateMapWithLocationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class UpdateMapWithLocationProvider : MonoBehaviour
3333

3434
private void Awake()
3535
{
36-
// Prevent double initialization of the map.
36+
// Prevent double initialization of the map.
3737
_map.InitializeOnStart = false;
3838
}
3939

@@ -111,4 +111,4 @@ void LateUpdate()
111111
}
112112
}
113113
}
114-
}
114+
}

sdkproject/Assets/Mapbox/Unity/DataContainers/TileJsonData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void ProcessTileJSONData(TileJSONResponse tjr)
5454
{
5555
tileJSONLoaded = true;
5656
List<string> layerPropertiesList = new List<string>();
57-
// Un-comment if required. Throws a warning right now.
57+
// Un-comment if required. Throws a warning right now.
5858
//List<string> sourceLayersList = new List<string>();
5959

6060
if (tjr == null || tjr.VectorLayers == null || tjr.VectorLayers.Length == 0)
@@ -187,4 +187,4 @@ public void ProcessTileJSONData(TileJSONResponse tjr)
187187
}
188188
}
189189
}
190-
}
190+
}

sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/VectorLayerPropertiesDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
9191

9292
ShowSepartor();
9393

94-
//Draw Feature section.
94+
//Draw Feature section.
9595
ShowFeatures = EditorGUILayout.Foldout(ShowFeatures, "FEATURES");
9696
if (ShowFeatures)
9797
{

sdkproject/Assets/Mapbox/Unity/Location/DeviceLocationProviderAndroidNative.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class DeviceLocationProviderAndroidNative : AbstractLocationProvider, IDi
1313

1414

1515
/// <summary>
16-
/// The minimum distance (measured in meters) a device must move laterally before location is updated.
16+
/// The minimum distance (measured in meters) a device must move laterally before location is updated.
1717
/// https://developer.android.com/reference/android/location/LocationManager.html#requestLocationUpdates(java.lang.String,%20long,%20float,%20android.location.LocationListener)
1818
/// </summary>
1919
[SerializeField]
@@ -304,7 +304,7 @@ private void populateCurrentLocation(AndroidJavaObject location)
304304
// Otherwise it is set to '0.0'
305305
// https://developer.android.com/reference/android/location/Location.html#getBearing()
306306
// We don't want that when we rotate a map according to the direction
307-
// thes user is moving, thus don't update 'heading' with '0.0'
307+
// thes user is moving, thus don't update 'heading' with '0.0'
308308
if (!hasBearing)
309309
{
310310
_currentLocation.IsUserHeadingUpdated = false;
@@ -329,7 +329,7 @@ private void populateCurrentLocation(AndroidJavaObject location)
329329
|| timestampUpdated
330330
|| speedUpdated;
331331

332-
// Un-comment if required. Throws a warning right now.
332+
// Un-comment if required. Throws a warning right now.
333333
//bool networkEnabled = _gpsInstance.Call<bool>("getIsNetworkEnabled");
334334
bool gpsEnabled = _gpsInstance.Call<bool>("getIsGpsEnabled");
335335
if (!gpsEnabled)

sdkproject/Assets/Mapbox/Unity/Map/AbstractMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ public void SpawnPrefabAtGeoLocation(GameObject prefab,
745745
/// Places the prefab for supplied categories.
746746
/// </summary>
747747
/// <param name="prefab">GameObject Prefab</param>
748-
/// <param name="categories"><see cref="LocationPrefabCategories"/> For more than one category separate them by pipe
748+
/// <param name="categories"><see cref="LocationPrefabCategories"/> For more than one category separate them by pipe
749749
/// (eg: LocationPrefabCategories.Food | LocationPrefabCategories.Nightlife)</param>
750750
/// <param name="density">Density controls the number of POIs on the map.(Integer value between 1 and 30)</param>
751751
/// <param name="locationItemName">Name of this location prefab item for future reference</param>

sdkproject/Assets/Mapbox/Unity/MeshGeneration/Modifiers/MeshModifiers/HeightModifier.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static MinMaxPair GetMinMaxHeight(List<Vector3> vertices)
3333

3434
/// <summary>
3535
/// Height Modifier is responsible for the y axis placement of the feature. It pushes the original vertices upwards by "height" value and creates side walls around that new polygon down to "min_height" value.
36-
/// It also checkes for "ele" (elevation) value used for contour lines in Mapbox Terrain data.
36+
/// It also checkes for "ele" (elevation) value used for contour lines in Mapbox Terrain data.
3737
/// Height Modifier also creates a continuous UV mapping for side walls.
3838
/// </summary>
3939
[CreateAssetMenu(menuName = "Mapbox/Modifiers/Height Modifier")]
@@ -85,7 +85,7 @@ public override void Run(VectorFeatureUnity feature, MeshData md, UnityTile tile
8585
minHeight = minHeight * _options.extrusionScaleFactor * _scale;
8686
height = (maxHeight - minHeight);
8787

88-
//Set roof height
88+
//Set roof height
8989
GenerateRoofMesh(md, minHeight, maxHeight);
9090

9191
GenerateWallMesh(md);

0 commit comments

Comments
 (0)