Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions sdkproject/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"files.exclude":
{
"**/.DS_Store":true,
"**/.git":true,
"**/.gitignore":true,
"**/.gitmodules":true,
"**/*.booproj":true,
"**/*.pidb":true,
"**/*.suo":true,
"**/*.user":true,
"**/*.userprefs":true,
"**/*.unityproj":true,
"**/*.dll":true,
"**/*.exe":true,
"**/*.pdf":true,
"**/*.mid":true,
"**/*.midi":true,
"**/*.wav":true,
"**/*.gif":true,
"**/*.ico":true,
"**/*.jpg":true,
"**/*.jpeg":true,
"**/*.png":true,
"**/*.psd":true,
"**/*.tga":true,
"**/*.tif":true,
"**/*.tiff":true,
"**/*.3ds":true,
"**/*.3DS":true,
"**/*.fbx":true,
"**/*.FBX":true,
"**/*.lxo":true,
"**/*.LXO":true,
"**/*.ma":true,
"**/*.MA":true,
"**/*.obj":true,
"**/*.OBJ":true,
"**/*.asset":true,
"**/*.cubemap":true,
"**/*.flare":true,
"**/*.mat":true,
"**/*.meta":true,
"**/*.prefab":true,
"**/*.unity":true,
"build/":true,
"Build/":true,
"Library/":true,
"library/":true,
"obj/":true,
"Obj/":true,
"ProjectSettings/":true,
"temp/":true,
"Temp/":true
}
}
13 changes: 13 additions & 0 deletions sdkproject/Assets/MapFromCode.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 109 additions & 36 deletions sdkproject/Assets/Mapbox/Examples/5_ZoomableMap/ZoomableMap.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44648886, g: 0.49632663, b: 0.5747252, a: 1}
m_IndirectSpecularColor: {r: 0.4465785, g: 0.49641252, b: 0.574817, a: 1}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -77,15 +77,18 @@ LightmapSettings:
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVRBounces: 2
m_PVRFiltering: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringMode: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousColorSigma: 1
m_PVRFilteringAtrousNormalSigma: 1
m_PVRFilteringAtrousPositionSigma: 1
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 1
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
Expand All @@ -107,6 +110,8 @@ NavMeshSettings:
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &197266180
Prefab:
Expand Down Expand Up @@ -238,7 +243,7 @@ Prefab:
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: -55.335487
value: -56.283787
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand All @@ -248,12 +253,12 @@ Prefab:
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 90.670975
value: 92.56757
objectReference: {fileID: 0}
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 110.670975
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224907856650798614, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand All @@ -277,6 +282,11 @@ Prefab:
starting point for creating a traditional web-based zoomable map. Go anywhere
in the world and check out Mapbox\u2019s high-quality satellite imagery. "
objectReference: {fileID: 0}
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0.000015258789
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 98be219873e6d4dffb5949746f515a33, type: 2}
m_IsPrefabParent: 0
Expand Down Expand Up @@ -407,17 +417,97 @@ MonoBehaviour:
m_GameObject: {fileID: 555018382}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 46b7feaa380a94707acb19bfd72fd4f5, type: 3}
m_Script: {fileID: 11500000, guid: cd961b1c9541a4cee99686069ecce852, type: 3}
m_Name:
m_EditorClassIdentifier:
_zoom: 10
_initializeOnStart: 1
_latitudeLongitudeString: 37.7648, -122.463
_root: {fileID: 0}
_tileProvider: {fileID: 555018385}
_mapVisualizer: {fileID: 11400000, guid: 84a94dcf8a4f944f8bc89a06e9e105d5, type: 2}
_unityTileSize: 100
_snapMapHeightToZero: 1
_options:
locationOptions:
latitudeLongitude: 37.7648, -122.463
zoom: 10
extentOptions:
extentType: 0
cameraBoundsOptions:
camera: {fileID: 1787361574}
visibleBuffer: 0
disposeBuffer: 0
updateInterval: 0
rangeAroundCenterOptions:
west: 1
north: 1
east: 1
south: 1
rangeAroundTransformOptions:
targetTransform: {fileID: 0}
visibleBuffer: 0
disposeBuffer: 0
placementOptions:
placementType: 1
snapMapToZero: 0
scalingOptions:
scalingType: 1
unityTileSize: 100
loadingTexture: {fileID: 0}
_imagery:
_layerProperty:
sourceType: 4
sourceOptions:
isActive: 1
layerSource:
Name: Streets
Id: mapbox.satellite
Modified:
UserName:
rasterOptions:
useRetina: 0
useCompression: 0
useMipMap: 0
_terrain:
_layerProperty:
sourceType: 0
sourceOptions:
isActive: 1
layerSource:
Name:
Id: mapbox.terrain-rgb
Modified:
UserName:
elevationLayerType: 0
requiredOptions:
baseMaterial: {fileID: 2100000, guid: b9f23e9bce724fa4daac57ecded470b8, type: 2}
addCollider: 0
exaggerationFactor: 1
modificationOptions:
sampleCount: 10
useRelativeHeight: 1
earthRadius: 1000
unityLayerOptions:
addToLayer: 0
layerId: 0
sideWallOptions:
isActive: 0
wallHeight: 10
wallMaterial: {fileID: 0}
_vectorData:
_layerProperty:
sourceType: 1
sourceOptions:
isActive: 1
layerSource:
Name: Mapbox Streets
Id: mapbox.mapbox-streets-v7
Modified:
UserName:
useOptimizedStyle: 0
optimizedStyle:
Name:
Id:
Modified:
UserName:
performanceOptions:
isEnabled: 1
entityPerCoroutine: 20
vectorSubLayers: []
_tileProvider: {fileID: 0}
--- !u!4 &555018384
Transform:
m_ObjectHideFlags: 0
Expand All @@ -442,8 +532,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 756a01a914208439d8d2fc8dcd68b229, type: 3}
m_Name:
m_EditorClassIdentifier:
_camera: {fileID: 1787361574}
_updateInterval: 0
--- !u!114 &555018386
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -458,8 +546,7 @@ MonoBehaviour:
_panSpeed: 1
_zoomSpeed: 0.25
_referenceCamera: {fileID: 1787361574}
_quadTreeTileProvider: {fileID: 555018385}
_dynamicZoomMap: {fileID: 555018383}
_mapManager: {fileID: 555018383}
_useDegreeMethod: 0
--- !u!114 &555018388
MonoBehaviour:
Expand Down Expand Up @@ -529,20 +616,6 @@ Light:
m_Lightmapping: 4
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_FalloffTable:
m_Table[0]: 0
m_Table[1]: 0
m_Table[2]: 0
m_Table[3]: 0
m_Table[4]: 0
m_Table[5]: 0
m_Table[6]: 0
m_Table[7]: 0
m_Table[8]: 0
m_Table[9]: 0
m_Table[10]: 0
m_Table[11]: 0
m_Table[12]: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
Expand Down Expand Up @@ -741,11 +814,11 @@ Camera:
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!4 &1787361575
Transform:
m_ObjectHideFlags: 0
Expand Down
Loading