Skip to content

Commit

Permalink
Release/v1.4.5 (#974)
Browse files Browse the repository at this point in the history
* master merge (#907)

* add class to open settings for app on Android

* update AutoSyncScene

* fix AutoSyncScene and WorldAlignmentKit prefab

* increase desired accuracy

* increase desired accuracy

* hopefully getting there

* Prefab block for configuration window

* update worldalignmentprefab

* Merge explorer and interactive styled map examples.

* images updated

* layout, changelog link

* Update WorldAlignmentKit prefab + fix reload script to use "update" function.

* ar example scene names

* Updated `Explorer` scene.

* Updated worlsAlignmentKit

* Updated working AR scene.

* Fix double map initialize issue.

* remove extra example scenes

* fix merge conflict: PropertyDrawers.meta

* prefab body text

* update TabletopAR image

* Possible fix for worldScale AR

* Add namespace for ObjectPool + change Awake to start in Position with LocationProvider

* WIP manual sync AR scene

* fix broken WorldAlignmentKit.prefab after merge

* make debug paths thicker

* Add missing namespaces.

* Missing namespace.

* Manual World Alignment scene and prefab

* fix broken meta file

* Update scenes.

* Update version to 1.4.0

* Scene cleanup - delete old examples

* Fix wrong unwrapped tile id

* Possible fix for Configuration window `NullReference`

* remove Android pre-build checks for duplicate libraries (#574)

* WorldAlignmentKit prefab: remove layer 'Map' from culling mask of Main Camera

* move UniAndroidPermission to PlugIns folder

* add sub-assets in scenelists via editor (#586)

* Moved editor files to Assets/Mapbox/Unity/Editor

* Delete moved files - Atlas Generator & scriptable Palette UI

* Added Mapbox.Editor namespace, converted spaces to tabs.

* Fix compile errors related to meta files.

* Cleanup tooltip text.

* Fix Warnings.

* Update scenes.

* Cleanup warnings - pass 2.

* Cleanup warnings pass 3.

* Update ScenesList.cs

* Fix typecast error on filters + filter Pois labels based on localRank.

* Add Update method to RangeTileProvider.

* Update PathHelpers.cs

* Change explorer to Data Explorer, clean unused assets.

* fix duplicate buildings in WorldScaleAR-ManualAlignment

* silence remaining warnings

* Fix screenshot name for explorer, add initialization to elevationLayerProperties as a defensive fix.

* Fix typo

* Fix build error, turn vector layer off for Globe example, Add build settings.

* Config window 1.4 (#587)

* add sub-assets in scenelists via editor

* assign default value to MapboxConfiguration's token status

* Change camera for city simulator scene.

* fix RasterTileExample

* fix VoxelMap

* Fix finished status not getting fired event for globe example.

* silence another warning and remove unused using

* make TileErrorHandler work with new AbstractMap

* Fixes for RC3

* Renamed TabletopARKit prefab to ARTableTop

* Turn off initializeOnStart for LocationBasedGame prefab.

* Defensive fix for crash on iOS.

* Fix for missing features - Add property in vectorsublayerproperties to clip features at tile boundary.

* Change scene & prefab with clip at tile boundary setting.

* Fix NRE's on inspectors for scriptable objects in sharedmodules.

* Remove new from LocationProvider prefab name in LocationBasedGame prefab

* Asset file cleanup

* Trigger finished status for tiles that error out.

* Fix flat terrain factory editor.

* remove inital wait for GPS on DeviceLocationProvider start. Implement 'IsLocationServiceEnabled' property on 'Location' and send one Location event when location services are not enabled or failed to start in time.

* Fix issue with prefab modifier where removing the `IFeaturePropertySettable` was not setting transforms for prefabs.

* Make Modifiers & map selectable from node editor, change mismatching button style.

* add 'IsLocationServiceInitializing' to 'Location.cs'. Expose that info in the LocationBasedGame scene

* Add all layers from explorer v130 example (most layers turned off)

* Make foldouts static.

* Update scenelist.

* move misplaced `link.xml` into MapboxAR subfolder

* Remove interaction from DataExplorer scene, Added a new scene for interaction.

* Turn buildings on in Data Explorer :)

* Scale the canvas to fit the screen.

* Change zoomSpeed = 0, merge building layers.

* Update formatting of playground scenes, enable camera for data explorer.

* Tweaks to scenes for performance & formatting.

* Finally turn on the camera movement script on DataExplorer

* Fix scaling in y for map & unity tile. Add script to keep camera above terrain for zoomable map.

* Update buildingswithUniqueIds property.

* Add prerequisite info for AR scenes.

* work around crashes on iOS with escaped characters in the URL

* Fix height data query.

* Add missing using UnityEngine.

* Update example descriptions

* Disable SetCameraHeight script + add method to query height in unity units.

* Update zoomable map scene to not have setCameraHeight

* Remove replacing text with latlong for geocode response.

* Fix formatting

* Remove DirectionsQuery

* Update project version

* Add event system to CitySimulator scene + filter mouse events on search UI.

* Format main scene UI.

* another fix for URL encoding for iOS

* Update changelog

* Make filter values case - insensitive. (#632)

* Make filter values case - insensitive.

* Add checks to remove white spaces & empty entries.

* Actually fix the issue :(

* Fix tile position issue with vector features. Remove option when features are grouped. (#629)

* Change file folder names (#635)

* Remove folder with bad name.

* Change name of folder to MapboxStyles instead of MapBoxStyles

* Fix range height extrusion (#613)

* Fix range height extrusion mesh generation.

* Add extrusion scale factor to multiply height values when extruding geometry.

* Update Changelog.

* Add missing tooltips.

* Don't clip min height for RangeHeight Extrusion option.

* Add warning if max height is less than min height. Also, add error message and swap values in code

* Collider Dropdown in Abstract Map for adding colliders on top of extruded geometry (#637)

* wip

* Geometry options drawer modified

* collider options added

* changed order of the collider options

* dots

* tooltips added

* adding changes to tooltips

* Playmode tests (#628)

* [wip] PlayMode tests

* playmode tests: try with copying files via MapboxDev menu

* remove external test project

* rename test files to follow naming convention

* swtich from FileUtil.Copy/Delete to AssetDatabase.Copy/Delete

* fix directions tests

* try custom global MAPBOX_PLAYMODE_TESTS define in msc.rsp

* remove mcs.rsp

* change access modifiers on Directions, Geocoder and TileResource to make them available in EditorMode tests

* enable more tests for PlayMode tests

* some fixes for OSX and iOS

* disbale Request.Cancel test for iOS and Android as results are not cosistent

* HACK: workaround to make ForwardGeocode tests pass on iOS

* more iOS fixing

* add feature collections and kdtree collection (#565)

* add feature collections and kdtree collection

* Add namespaces to new files.

* change InteractiveStyledVectorMap.unity to include a feature collection and query script

* change scene objects

* add missing highlight buildings script

* Remove duplicate file

* Updated changelog.

* Ui fixes (#643)

* Fix foldouts not retaining states between play mode & editor.

* Don't allow empty names for layer visualizers.

* Add defaults for all sublayer properties to not carry over any options from the previous layer.

* Add missing tooltips.

* Fix indentation.

* Update tooltip for Extent Type.

* Add tooltips for prefix labels for dropdowns.

* Change `Style Name` to `Data Source`

* Fix typo in colorPalette.

* Selected newly created layer visualizer.

* Update scenes with missing ScriptablePalette.

* Update tooltip for min/max height extrusion.

* Updated scene.

* Update tooltip of sampleCount

* Update scene after merge with develop

* Fix scene, indentation for collider type.

* Update scene with collider options.

* [publish docs] (#652)

* Add camera table top ar (#614)

* Change RangeAroundTransformTile Provider to use the new API.

* Add sample camera script for pan & zoom .

* Update scene to use the new camera script.

* Add reposition tile logic to RangeAroundTransformTileProvider.

* Add method to click and get latlong under the mouse.

* Added relative panning from camera

* removed unnecessary line of code

* Quick fix for panning speed

* Clean up script and scene.

* Update Changelog

* Fix satellite imagery on roof not working. (#638)

* Fix satellite imagery on roof not working.

* Remove commented code.

* Update changelog

* Disable buildingsWithUniqueIds setting for MapboxStreets data source.  (#655)

* Added workaround to prevent users from accidentally turning on filtering for MapboxStreets building.

* Update changelog

* Disable InitializeOnStart when `InitializeWithLocationProvider` is used.  (#656)

* Disable initialize on start for AR cases.

* Add check to make sure map is initialized before updating tiles.

* Updated changelog

* Updated manual synchornization example scene (#636)

* updated manual synchornization example scene

* Update TouchCamera.cs

Uncommented line at 38.

* added hint text to ManualSyncScene

* fixed namespaces & moved scripts to new folder

* updated scene & made a new manual aligment prefab

* added namespace to UpdateMapPosByARPlaneY.cs

* Changed map update to correct method.

* Update ProjectSettings.

* Release/v1.4.1 (#682) (#684)

* Fix to properly show Mesh & GO modifiers in the UI

* Add UI for removing/combining filters

* Break classes into separate files, remove MapAPI wrapper. UnifiedMap takes over the functionality.
Fix bug with filters

* Add new prefabs for LocationBasedGame and CitySim

* Fixes loadingPanel script to work with UnifiedMap

* Trigger finished state when no vector layer is turned off.

* Fix mapId for Satellite & satellite-streets

* update PR template

* Update UI to match design - round 1

* Add new data containers

* Enable loading external configurations - take 2 (#552)

* carry over changes from https://github.com/mapbox/mapbox-unity-sdk/pull/352 to latest develop

* Fix the merge typo.

* Integrate mapbox-ar-unity (#544)

* add ARCore, ARKit, UnityARInterface

* Mapbox AR code and examples

* add KalmanFilter

* some updated metas

* fix .gitignore to not ignore parts of ARCore

* add AR prefabs

* fix .gitignore for .metas from temp files from docs generation

* add additional properties to `Location`

* add helper class for onscreen console

* [wip] integrate AR

* more logging for caching

* MBTilesCache: Windows fix for path and filenames with +260 chars

* add some logging to AbstractMap.cs

* add editorconfig

* debug messages around telem lib initialization

* ARTableTop: test in Vienna

* ProjectSettings: enable AR on Android

* remove Debug messages

* fix typo in TelemetryAndroid.cs file name

* add layers needed for AR demo to the project settings

* fix Unity's byte stripping for .Net 4.6 and IL2CPP

* throw out uncessary stuff that comes with UnityARInterface and ARCore

* update readme, add AR readme.

* update CHANGELOG

* wip integrate ar

* Throw away unused ARKit stuff.

* Update prefabs & scene

* Add defaults options + linewidth parameter.

* Add mockup for Presets UI

* Adding tooltips for General, Image & Terrain sections.

* Fix extra space in Terrain UI.

* [WIP] Remove old map files, rename UnifiedMap to AbstractMap - working towards clean merge.

* [WIP] Replace old VectorTileFactory with refactored ( VectorTileFactoryNew gets renamed)

* add kalman comment

* appveyor: don't use PowerShell to download docfx

* Fix typo in terrain source.

* New textures/materials for default building style

* Merge StyleOptimizedVectorTileFactory functionality into VectorTileFactory

* Updated settings to TextureSideWall

* VectorLayerVisualizer refactor.

* Hookup node editor with Plug & play refactor.

* Add tooltips for vector section.

* Add missing changes to VectorTIle.cs

* add QueryTerrainHeight function to AbstractMap (#571)

Looks good.

* try with GPS position/heading, ignoring AR and bias

* Fix compile error related to return type. (#572)

minor change.

* Added a API call to query height 

Added a API call on AbstractMap to query height at a certain latitude longitude.

* Add preset defaults switching + snapMaptoZero hookup.

* Changes to MapEditor.

* Add code comments for LatitudeLongitudeToTileId change. (#573)

* Fix compile error related to return type.

* update code comments

* Layer Visualizer for Building Ids (#502)

* change VectorFeatureUnity and VectorLayerVisualizer classes to support buildings ids and do not render duplicates of same featuer from different tiles

* add comments for an if clause in VectorFeatureUnity

* Uv mapping (#503)

* add uv mapping height modifier and a demo scene to show it off

* fix TextureSideWallModifier to respect min_height property

* fix a bug in wall segment calculation in TextureSideWallModifier where CenterSegment feature yielded long first sections
fix a bug in PolygonModifier where it doesn't create tangents
fix wrong asset bindings

* fix an issue where TextureSideWallModifier doesn't take atlas section height into consideration

* add a 8 building texture atlas

* add new texture from random google images

* fix a bug where bottomOfMidUv was calculated wrong

* Fix formatting.

* Add atlas texturing modifier into Plug & play UI.

* Remove presets from map

* work on DeviceLocationProvider, AutomaticSyncScene: size of player shows hdop, remove some debug statements

* Add parameters to hookup Globe terrain factory.

* Mapbox styles - MapboxStyles shader for layer colorization, AtlasTemplateGenerator for creating template images from AtlasInfo files, various scripts for assisting with building colorization.

* Set defaults for all properties

* Add API calls for layers

* Renamed AddColorizeMapboxStyles.cs to MapboxStylesColorModifier.cs to better match existing nomenclature. Refactored MapboxStylesColorModifier.cs: Run method no longer adds ColorizeMapboxStyles.cs monobehaviour to VectorEntity.GameObject; Run method now includes all logic for color selection and material property setting previously found in ColorizeMapboxStyles.cs;  utilizes VectorEntity's cached MeshRenderer component to set colors. Deleted ColorizeMapboxStyles.cs and ColorizeMapboxStylesEditor.cs.

* Add custom option to primitive type - for fully custom modifier stack.

* Hook up scriptable palette with P&P

* Add code comments to Abstract Map.

* Cleanup unused stuff.

* Fixed private field naming to meet code style requirements.

* Fix indentation

* Adds ability to add custom tile providers.

* more checks if access token is set (#564)

* Style development - colorization and atlas template generator (#579)

* add uv mapping height modifier and a demo scene to show it off

* fix TextureSideWallModifier to respect min_height property

* fix a bug in wall segment calculation in TextureSideWallModifier where CenterSegment feature yielded long first sections
fix a bug in PolygonModifier where it doesn't create tangents
fix wrong asset bindings

* fix an issue where TextureSideWallModifier doesn't take atlas section height into consideration

* change VectorFeatureUnity and VectorLayerVisualizer classes to support buildings ids and do not render duplicates of same featuer from different tiles

* add comments for an if clause in VectorFeatureUnity

* add a 8 building texture atlas

* add new texture from random google images

* add roof uv & atlas support

* test textures for styling development

* add missing constant Vector3Right

* fix materials in mat modifier

* fix atlas info object

* Removed unused properties from shader

* New textures/materials for default building style

* Updated settings to TextureSideWall

* Mapbox styles - MapboxStyles shader for layer colorization, AtlasTemplateGenerator for creating template images from AtlasInfo files, various scripts for assisting with building colorization.

* Renamed AddColorizeMapboxStyles.cs to MapboxStylesColorModifier.cs to better match existing nomenclature. Refactored MapboxStylesColorModifier.cs: Run method no longer adds ColorizeMapboxStyles.cs monobehaviour to VectorEntity.GameObject; Run method now includes all logic for color selection and material property setting previously found in ColorizeMapboxStyles.cs;  utilizes VectorEntity's cached MeshRenderer component to set colors. Deleted ColorizeMapboxStyles.cs and ColorizeMapboxStylesEditor.cs.

* Fixed private field naming to meet code style requirements.

* Fix indentation

* log GPS timestamp once more

* Cleanup + update prefabs & UI.

* Fixes atlas textures bug, UI bug and creates city sim prefab with textured buildings.

* Add building Id tileset as default, fix minor issues.

* Update map prefab with default style

* Fix to trigger finished state on VectorTileFactory.

* Add loading texture, build locationProvider example , fix bug with imagery init.

* Update Camera script to work with new map, LocationBasedGame prefab uses camerabounds by default.

* Code cleanup - move drawers into their own files.

* Code Cleanup. Arrange files into folders.

* Foldouts don't forget what they were told to do ;)

* Fixed null ref error on MapboxStylesColorModifier; class now null checks m_scriptablePalette on Initialize and Run, and returns if object is null. Cleanup up names in Scriptable Palette Editor to make inspector look slightly cleaner.

* Update ARTabletop scene.

* updated Clip/Box shader (#580)

* updated shader

* fix indentation

* fixed indent

* Recreate ZoomableMap and Globe with new Plug and Play functionality (#585)

* created clip shaders for stylized map

* Fix errors from meta files.

* Add TabletopARkit prefab.

* fix missing tangents bug.

* Set Relative height = false as default.

* Fix issue with final state not being triggered when image factory was disabled.

* add UniAndroidPermission

* DeviceLocationProvider: request runtime location permissions on Android

* add class to open settings for app on Android

* update AutoSyncScene

* fix AutoSyncScene and WorldAlignmentKit prefab

* increase desired accuracy

* increase desired accuracy

* hopefully getting there

* Prefab block for configuration window

* update worldalignmentprefab

* Merge explorer and interactive styled map examples.

* images updated

* layout, changelog link

* Update WorldAlignmentKit prefab + fix reload script to use "update" function.

* ar example scene names

* Updated `Explorer` scene.

* Updated worlsAlignmentKit

* Updated working AR scene.

* Fix double map initialize issue.

* remove extra example scenes

* fix merge conflict: PropertyDrawers.meta

* prefab body text

* update TabletopAR image

* Possible fix for worldScale AR

* Add namespace for ObjectPool + change Awake to start in Position with LocationProvider

* WIP manual sync AR scene

* fix broken WorldAlignmentKit.prefab after merge

* make debug paths thicker

* Add missing namespaces.

* Missing namespace.

* Manual World Alignment scene and prefab

* fix broken meta file

* Update scenes.

* Update version to 1.4.0

* Scene cleanup - delete old examples

* Fix wrong unwrapped tile id

* Possible fix for Configuration window `NullReference`

* remove Android pre-build checks for duplicate libraries (#574)

* WorldAlignmentKit prefab: remove layer 'Map' from culling mask of Main Camera

* move UniAndroidPermission to PlugIns folder

* add sub-assets in scenelists via editor (#586)

* Moved editor files to Assets/Mapbox/Unity/Editor

* Delete moved files - Atlas Generator & scriptable Palette UI

* Added Mapbox.Editor namespace, converted spaces to tabs.

* Fix compile errors related to meta files.

* Cleanup tooltip text.

* Fix Warnings.

* Update scenes.

* Cleanup warnings - pass 2.

* Cleanup warnings pass 3.

* Update ScenesList.cs

* Fix typecast error on filters + filter Pois labels based on localRank.

* Add Update method to RangeTileProvider.

* Update PathHelpers.cs

* Change explorer to Data Explorer, clean unused assets.

* fix duplicate buildings in WorldScaleAR-ManualAlignment

* silence remaining warnings

* Fix screenshot name for explorer, add initialization to elevationLayerProperties as a defensive fix.

* Fix typo

* Fix build error, turn vector layer off for Globe example, Add build settings.

* Config window 1.4 (#587)

* add sub-assets in scenelists via editor

* assign default value to MapboxConfiguration's token status

* Change camera for city simulator scene.

* fix RasterTileExample

* fix VoxelMap

* Fix finished status not getting fired event for globe example.

* silence another warning and remove unused using

* make TileErrorHandler work with new AbstractMap

* Fixes for RC3

* Renamed TabletopARKit prefab to ARTableTop

* Turn off initializeOnStart for LocationBasedGame prefab.

* Defensive fix for crash on iOS.

* Fix for missing features - Add property in vectorsublayerproperties to clip features at tile boundary.

* Change scene & prefab with clip at tile boundary setting.

* Fix NRE's on inspectors for scriptable objects in sharedmodules.

* Remove new from LocationProvider prefab name in LocationBasedGame prefab

* Asset file cleanup

* Trigger finished status for tiles that error out.

* Fix flat terrain factory editor.

* remove inital wait for GPS on DeviceLocationProvider start. Implement 'IsLocationServiceEnabled' property on 'Location' and send one Location event when location services are not enabled or failed to start in time.

* Fix issue with prefab modifier where removing the `IFeaturePropertySettable` was not setting transforms for prefabs.

* Make Modifiers & map selectable from node editor, change mismatching button style.

* add 'IsLocationServiceInitializing' to 'Location.cs'. Expose that info in the LocationBasedGame scene

* Add all layers from explorer v130 example (most layers turned off)

* Make foldouts static.

* Update scenelist.

* move misplaced `link.xml` into MapboxAR subfolder

* Remove interaction from DataExplorer scene, Added a new scene for interaction.

* Turn buildings on in Data Explorer :)

* Scale the canvas to fit the screen.

* Change zoomSpeed = 0, merge building layers.

* Update formatting of playground scenes, enable camera for data explorer.

* Tweaks to scenes for performance & formatting.

* Finally turn on the camera movement script on DataExplorer

* Fix scaling in y for map & unity tile. Add script to keep camera above terrain for zoomable map.

* Update buildingswithUniqueIds property.

* Add prerequisite info for AR scenes.

* work around crashes on iOS with escaped characters in the URL

* Fix height data query.

* Add missing using UnityEngine.

* Update example descriptions

* Disable SetCameraHeight script + add method to query height in unity units.

* Update zoomable map scene to not have setCameraHeight

* Remove replacing text with latlong for geocode response.

* Fix formatting

* Remove DirectionsQuery

* Update project version

* Add event system to CitySimulator scene + filter mouse events on search UI.

* Format main scene UI.

* another fix for URL encoding for iOS

* Update changelog

* Make filter values case - insensitive. (#632)

* Make filter values case - insensitive.

* Add checks to remove white spaces & empty entries.

* Actually fix the issue :(

* Fix tile position issue with vector features. Remove option when features are grouped. (#629)

* Change file folder names (#635)

* Remove folder with bad name.

* Change name of folder to MapboxStyles instead of MapBoxStyles

* Fix range height extrusion (#613)

* Fix range height extrusion mesh generation.

* Add extrusion scale factor to multiply height values when extruding geometry.

* Update Changelog.

* Add missing tooltips.

* Don't clip min height for RangeHeight Extrusion option.

* Add warning if max height is less than min height. Also, add error message and swap values in code

* Collider Dropdown in Abstract Map for adding colliders on top of extruded geometry (#637)

* wip

* Geometry options drawer modified

* collider options added

* changed order of the collider options

* dots

* tooltips added

* adding changes to tooltips

* Playmode tests (#628)

* [wip] PlayMode tests

* playmode tests: try with copying files via MapboxDev menu

* remove external test project

* rename test files to follow naming convention

* swtich from FileUtil.Copy/Delete to AssetDatabase.Copy/Delete

* fix directions tests

* try custom global MAPBOX_PLAYMODE_TESTS define in msc.rsp

* remove mcs.rsp

* change access modifiers on Directions, Geocoder and TileResource to make them available in EditorMode tests

* enable more tests for PlayMode tests

* some fixes for OSX and iOS

* disbale Request.Cancel test for iOS and Android as results are not cosistent

* HACK: workaround to make ForwardGeocode tests pass on iOS

* more iOS fixing

* add feature collections and kdtree collection (#565)

* add feature collections and kdtree collection

* Add namespaces to new files.

* change InteractiveStyledVectorMap.unity to include a feature collection and query script

* change scene objects

* add missing highlight buildings script

* Remove duplicate file

* Updated changelog.

* Ui fixes (#643)

* Fix foldouts not retaining states between play mode & editor.

* Don't allow empty names for layer visualizers.

* Add defaults for all sublayer properties to not carry over any options from the previous layer.

* Add missing tooltips.

* Fix indentation.

* Update tooltip for Extent Type.

* Add tooltips for prefix labels for dropdowns.

* Change `Style Name` to `Data Source`

* Fix typo in colorPalette.

* Selected newly created layer visualizer.

* Update scenes with missing ScriptablePalette.

* Update tooltip for min/max height extrusion.

* Updated scene.

* Update tooltip of sampleCount

* Update scene after merge with develop

* Fix scene, indentation for collider type.

* Update scene with collider options.

* [publish docs] (#652)

* Add camera table top ar (#614)

* Change RangeAroundTransformTile Provider to use the new API.

* Add sample camera script for pan & zoom .

* Update scene to use the new camera script.

* Add reposition tile logic to RangeAroundTransformTileProvider.

* Add method to click and get latlong under the mouse.

* Added relative panning from camera

* removed unnecessary line of code

* Quick fix for panning speed

* Clean up script and scene.

* Update Changelog

* Fix satellite imagery on roof not working. (#638)

* Fix satellite imagery on roof not working.

* Remove commented code.

* Update changelog

* Disable buildingsWithUniqueIds setting for MapboxStreets data source.  (#655)

* Added workaround to prevent users from accidentally turning on filtering for MapboxStreets building.

* Update changelog

* Disable InitializeOnStart when `InitializeWithLocationProvider` is used.  (#656)

* Disable initialize on start for AR cases.

* Add check to make sure map is initialized before updating tiles.

* Updated changelog

* Updated manual synchornization example scene (#636)

* updated manual synchornization example scene

* Update TouchCamera.cs

Uncommented line at 38.

* added hint text to ManualSyncScene

* fixed namespaces & moved scripts to new folder

* updated scene & made a new manual aligment prefab

* added namespace to UpdateMapPosByARPlaneY.cs

* Changed map update to correct method.

* Update ProjectSettings.

* Updated version number +scenelist

* Update scene to show ObjectInspector panel again.

* fix a bug in LayerPropertyIsEqualFilterComparer  (#662)

* fix a bug in LayerPropertyIsEqualFilterComparer where it does <= instead of == (fixes #660)

* Simplified expression.

* Fix incorrect editor culture handling on some locales (#658) (#659)

Geocode coordinates are now converted with InvariantCulture, which makes sure they do not depend on the locale of the computer being used.

* Set scaleFactor = 1 in property drawer. (#665)

* Fix custom mapid (#666)

* Fix custom mapId being overridden by empty string.

* Add missing reference

* removed error messages from manual touch script (#667)

* Fix scaling for world scale when zoom level was changed. (#668)

* Update worldscale AR scene - fix ARDelta not registering.

* fix a bug where SpawnInsideModifier getting stuck in infinite loop (#676)

* fix a bug where SpawnInsideModifier getting stuck in infinite loop

* Update changelog

* Remove duplicate scene.

* Make internal method private.

* Update Image settings to use retina & mip map

* Add BuildingsWithUniqueIds checkbox back.

* Update changelog & license.

* Update scene.

* Release/v1.4.1 (#682) (#683)

* Fix to properly show Mesh & GO modifiers in the UI

* Add UI for removing/combining filters

* Break classes into separate files, remove MapAPI wrapper. UnifiedMap takes over the functionality.
Fix bug with filters

* Add new prefabs for LocationBasedGame and CitySim

* Fixes loadingPanel script to work with UnifiedMap

* Trigger finished state when no vector layer is turned off.

* Fix mapId for Satellite & satellite-streets

* update PR template

* Update UI to match design - round 1

* Add new data containers

* Enable loading external configurations - take 2 (#552)

* carry over changes from https://github.com/mapbox/mapbox-unity-sdk/pull/352 to latest develop

* Fix the merge typo.

* Integrate mapbox-ar-unity (#544)

* add ARCore, ARKit, UnityARInterface

* Mapbox AR code and examples

* add KalmanFilter

* some updated metas

* fix .gitignore to not ignore parts of ARCore

* add AR prefabs

* fix .gitignore for .metas from temp files from docs generation

* add additional properties to `Location`

* add helper class for onscreen console

* [wip] integrate AR

* more logging for caching

* MBTilesCache: Windows fix for path and filenames with +260 chars

* add some logging to AbstractMap.cs

* add editorconfig

* debug messages around telem lib initialization

* ARTableTop: test in Vienna

* ProjectSettings: enable AR on Android

* remove Debug messages

* fix typo in TelemetryAndroid.cs file name

* add layers needed for AR demo to the project settings

* fix Unity's byte stripping for .Net 4.6 and IL2CPP

* throw out uncessary stuff that comes with UnityARInterface and ARCore

* update readme, add AR readme.

* update CHANGELOG

* wip integrate ar

* Throw away unused ARKit stuff.

* Update prefabs & scene

* Add defaults options + linewidth parameter.

* Add mockup for Presets UI

* Adding tooltips for General, Image & Terrain sections.

* Fix extra space in Terrain UI.

* [WIP] Remove old map files, rename UnifiedMap to AbstractMap - working towards clean merge.

* [WIP] Replace old VectorTileFactory with refactored ( VectorTileFactoryNew gets renamed)

* add kalman comment

* appveyor: don't use PowerShell to download docfx

* Fix typo in terrain source.

* New textures/materials for default building style

* Merge StyleOptimizedVectorTileFactory functionality into VectorTileFactory

* Updated settings to TextureSideWall

* VectorLayerVisualizer refactor.

* Hookup node editor with Plug & play refactor.

* Add tooltips for vector section.

* Add missing changes to VectorTIle.cs

* add QueryTerrainHeight function to AbstractMap (#571)

Looks good.

* try with GPS position/heading, ignoring AR and bias

* Fix compile error related to return type. (#572)

minor change.

* Added a API call to query height 

Added a API call on AbstractMap to query height at a certain latitude longitude.

* Add preset defaults switching + snapMaptoZero hookup.

* Changes to MapEditor.

* Add code comments for LatitudeLongitudeToTileId change. (#573)

* Fix compile error related to return type.

* update code comments

* Layer Visualizer for Building Ids (#502)

* change VectorFeatureUnity and VectorLayerVisualizer classes to support buildings ids and do not render duplicates of same featuer from different tiles

* add comments for an if clause in VectorFeatureUnity

* Uv mapping (#503)

* add uv mapping height modifier and a demo scene to show it off

* fix TextureSideWallModifier to respect min_height property

* fix a bug in wall segment calculation in TextureSideWallModifier where CenterSegment feature yielded long first sections
fix a bug in PolygonModifier where it doesn't create tangents
fix wrong asset bindings

* fix an issue where TextureSideWallModifier doesn't take atlas section height into consideration

* add a 8 building texture atlas

* add new texture from random google images

* fix a bug where bottomOfMidUv was calculated wrong

* Fix formatting.

* Add atlas texturing modifier into Plug & play UI.

* Remove presets from map

* work on DeviceLocationProvider, AutomaticSyncScene: size of player shows hdop, remove some debug statements

* Add parameters to hookup Globe terrain factory.

* Mapbox styles - MapboxStyles shader for layer colorization, AtlasTemplateGenerator for creating template images from AtlasInfo files, various scripts for assisting with building colorization.

* Set defaults for all properties

* Add API calls for layers

* Renamed AddColorizeMapboxStyles.cs to MapboxStylesColorModifier.cs to better match existing nomenclature. Refactored MapboxStylesColorModifier.cs: Run method no longer adds ColorizeMapboxStyles.cs monobehaviour to VectorEntity.GameObject; Run method now includes all logic for color selection and material property setting previously found in ColorizeMapboxStyles.cs;  utilizes VectorEntity's cached MeshRenderer component to set colors. Deleted ColorizeMapboxStyles.cs and ColorizeMapboxStylesEditor.cs.

* Add custom option to primitive type - for fully custom modifier stack.

* Hook up scriptable palette with P&P

* Add code comments to Abstract Map.

* Cleanup unused stuff.

* Fixed private field naming to meet code style requirements.

* Fix indentation

* Adds ability to add custom tile providers.

* more checks if access token is set (#564)

* Style development - colorization and atlas template generator (#579)

* add uv mapping height modifier and a demo scene to show it off

* fix TextureSideWallModifier to respect min_height property

* fix a bug in wall segment calculation in TextureSideWallModifier where CenterSegment feature yielded long first sections
fix a bug in PolygonModifier where it doesn't create tangents
fix wrong asset bindings

* fix an issue where TextureSideWallModifier doesn't take atlas section height into consideration

* change VectorFeatureUnity and VectorLayerVisualizer classes to support buildings ids and do not render duplicates of same featuer from different tiles

* add comments for an if clause in VectorFeatureUnity

* add a 8 building texture atlas

* add new texture from random google images

* add roof uv & atlas support

* test textures for styling development

* add missing constant Vector3Right

* fix materials in mat modifier

* fix atlas info object

* Removed unused properties from shader

* New textures/materials for default building style

* Updated settings to TextureSideWall

* Mapbox styles - MapboxStyles shader for layer colorization, AtlasTemplateGenerator for creating template images from AtlasInfo files, various scripts for assisting with building colorization.

* Renamed AddColorizeMapboxStyles.cs to MapboxStylesColorModifier.cs to better match existing nomenclature. Refactored MapboxStylesColorModifier.cs: Run method no longer adds ColorizeMapboxStyles.cs monobehaviour to VectorEntity.GameObject; Run method now includes all logic for color selection and material property setting previously found in ColorizeMapboxStyles.cs;  utilizes VectorEntity's cached MeshRenderer component to set colors. Deleted ColorizeMapboxStyles.cs and ColorizeMapboxStylesEditor.cs.

* Fixed private field naming to meet code style requirements.

* Fix indentation

* log GPS timestamp once more

* Cleanup + update prefabs & UI.

* Fixes atlas textures bug, UI bug and creates city sim prefab with textured buildings.

* Add building Id tileset as default, fix minor issues.

* Update map prefab with default style

* Fix to trigger finished state on VectorTileFactory.

* Add loading texture, build locationProvider example , fix bug with imagery init.

* Update Camera script to work with new map, LocationBasedGame prefab uses camerabounds by default.

* Code cleanup - move drawers into their own files.

* Code Cleanup. Arrange files into folders.

* Foldouts don't forget what they were told to do ;)

* Fixed null ref error on MapboxStylesColorModifier; class now null checks m_scriptablePalette on Initialize and Run, and returns if object is null. Cleanup up names in Scriptable Palette Editor to make inspector look slightly cleaner.

* Update ARTabletop scene.

* updated Clip/Box shader (#580)

* updated shader

* fix indentation

* fixed indent

* Recreate ZoomableMap and Globe with new Plug and Play functionality (#585)

* created clip shaders for stylized map

* Fix errors from meta files.

* Add TabletopARkit prefab.

* fix missing tangents bug.

* Set Relative height = false as default.

* Fix issue with final state not being triggered when image factory was disabled.

* add UniAndroidPermission

* DeviceLocationProvider: request runtime location permissions on Android

* add class to open settings for app on Android

* update AutoSyncScene

* fix AutoSyncScene and WorldAlignmentKit prefab

* increase desired accuracy

* increase desired accuracy

* hopefully getting there

* Prefab block for configuration window

* update worldalignmentprefab

* Merge explorer and interactive styled map examples.

* images updated

* layout, changelog link

* Update WorldAlignmentKit prefab + fix reload script to use "update" function.

* ar example scene names

* Updated `Explorer` scene.

* Updated worlsAlignmentKit

* Updated working AR scene.

* Fix double map initialize issue.

* remove extra example scenes

* fix merge conflict: PropertyDrawers.meta

* prefab body text

* update TabletopAR image

* Possible fix for worldScale AR

* Add namespace for ObjectPool + change Awake to start in Position with LocationProvider

* WIP manual sync AR scene

* fix broken WorldAlignmentKit.prefab after merge

* make debug paths thicker

* Add missing namespaces.

* Missing namespace.

* Manual World Alignment scene and prefab

* fix broken meta file

* Update scenes.

* Update version to 1.4.0

* Scene cleanup - delete old examples

* Fix wrong unwrapped tile id

* Possible fix for Configuration window `NullReference`

* remove Android pre-build checks for duplicate libraries (#574)

* WorldAlignmentKit prefab: remove layer 'Map' from culling mask of Main Camera

* move UniAndroidPermission to PlugIns folder

* add sub-assets in scenelists via editor (#586)

* Moved editor files to Assets/Mapbox/Unity/Editor

* Delete moved files - Atlas Generator & scriptable Palette UI

* Added Mapbox.Editor namespace, converted spaces to tabs.

* Fix compile errors related to meta files.

* Cleanup tooltip text.

* Fix Warnings.

* Update scenes.

* Cleanup warnings - pass 2.

* Cleanup warnings pass 3.

* Update ScenesList.cs

* Fix typecast error on filters + filter Pois labels based on localRank.

* Add Update method to RangeTileProvider.

* Update PathHelpers.cs

* Change explorer to Data Explorer, clean unused assets.

* fix duplicate buildings in WorldScaleAR-ManualAlignment

* silence remaining warnings

* Fix screenshot name for explorer, add initialization to elevationLayerProperties as a defensive fix.

* Fix typo

* Fix build error, turn vector layer off for Globe example, Add build settings.

* Config window 1.4 (#587)

* add sub-assets in scenelists via editor

* assign default value to MapboxConfiguration's token status

* Change camera for city simulator scene.

* fix RasterTileExample

* fix VoxelMap

* Fix finished status not getting fired event for globe example.

* silence another warning and remove unused using

* make TileErrorHandler work with new AbstractMap

* Fixes for RC3

* Renamed TabletopARKit prefab to ARTableTop

* Turn off initializeOnStart for LocationBasedGame prefab.

* Defensive fix for crash on iOS.

* Fix for missing features - Add property in vectorsublayerproperties to clip features at tile boundary.

* Change scene & prefab with clip at tile boundary setting.

* Fix NRE's on inspectors for scriptable objects in sharedmodules.

* Remove new from LocationProvider prefab name in LocationBasedGame prefab

* Asset file cleanup

* Trigger finished status for tiles that error out.

* Fix flat terrain factory editor.

* remove inital wait for GPS on DeviceLocationProvider start. Implement 'IsLocationServiceEnabled' property on 'Location' and send one Location event when location services are not enabled or failed to start in time.

* Fix issue with prefab modifier where removing the `IFeaturePropertySettable` was not setting transforms for prefabs.

* Make Modifiers & map selectable from node editor, change mismatching button style.

* add 'IsLocationServiceInitializing' to 'Location.cs'. Expose that info in the LocationBasedGame scene

* Add all layers from explorer v130 example (most layers turned off)

* Make foldouts static.

* Update scenelist.

* move misplaced `link.xml` into MapboxAR subfolder

* Remove interaction from DataExplorer scene, Added a new scene for interaction.

* Turn buildings on in Data Explorer :)

* Scale the canvas to fit the screen.

* Change zoomSpeed = 0, merge building layers.

* Update formatting of playground scenes, enable camera for data explorer.

* Tweaks to scenes for performance & formatting.

* Finally turn on the camera movement script on DataExplorer

* Fix scaling in y for map & unity tile. Add script to keep camera above terrain for zoomable map.

* Update buildingswithUniqueIds property.

* Add prerequisite info for AR scenes.

* work around crashes on iOS with escaped characters in the URL

* Fix height data query.

* Add missing using UnityEngine.

* Update example descriptions

* Disable SetCameraHeight script + add method to query height in unity units.

* Update zoomable map scene to not have setCameraHeight

* Remove replacing text with latlong for geocode response.

* Fix formatting

* Remove DirectionsQuery

* Update project version

* Add event system to CitySimulator scene + filter mouse events on search UI.

* Format main scene UI.

* another fix for URL encoding for iOS

* Update changelog

* Make filter values case - insensitive. (#632)

* Make filter values case - insensitive.

* Add checks to remove white spaces & empty entries.

* Actually fix the issue :(

* Fix tile position issue with vector features. Remove option when features are grouped. (#629)

* Change file folder names (#635)

* Remove folder with bad name.

* Change name of folder to MapboxStyles instead of MapBoxStyles

* Fix range height extrusion (#613)

* Fix range height extrusion mesh generation.

* Add extrusion scale factor to multiply height values when extruding geometry.

* Update Changelog.

* Add missing tooltips.

* Don't clip min height for RangeHeight Extrusion option.

* Add warning if max height is less than min height. Also, add error message and swap values in code

* Collider Dropdown in Abstract Map for adding colliders on top of extruded geometry (#637)

* wip

* Geometry options drawer modified

* collider options added

* changed order of the collider options

* dots

* tooltips added

* adding changes to tooltips

* Playmode tests (#628)

* [wip] PlayMode tests

* playmode tests: try with copying files via MapboxDev menu

* remove external test project

* rename test files to follow naming convention

* swtich from FileUtil.Copy/Delete to AssetDatabase.Copy/Delete

* fix directions tests

* try custom global MAPBOX_PLAYMODE_TESTS define in msc.rsp

* remove mcs.rsp

* change access modifiers on Directions, Geocoder and TileResource to make them available in EditorMode tests

* enable more tests for PlayMode tests

* some fixes for OSX and iOS

* disbale Request.Cancel test for iOS and Android as results are not cosistent

* HACK: workaround to make ForwardGeocode tests pass on iOS

* more iOS fixing

* add feature collections and kdtree collection (#565)

* add feature collections and kdtree collection

* Add namespaces to new files.

* change InteractiveStyledVectorMap.unity to include a feature collection and query script

* change scene objects

* add missing highlight buildings script

* Remove duplicate file

* Updated changelog.

* Ui fixes (#643)

* Fix foldouts not retaining states between play mode & editor.

* Don't allow empty names for layer visualizers.

* Add defaults for all sublayer properties to not carry over any options from the previous layer.

* Add missing tooltips.

* Fix indentation.

* Update tooltip for Extent Type.

* Add tooltips for prefix labels for dropdowns.

* Change `Style Name` to `Data Source`

* Fix typo in colorPalette.

* Selected newly created layer visualizer.

* Update scenes with missing ScriptablePalette.

* Update tooltip for min/max height extrusion.

* Updated scene.

* Update tooltip of sampleCount

* Update scene after merge with develop

* Fix scene, indentation for collider type.

* Update scene with collider options.

* [publish docs] (#652)

* Add camera table top ar (#614)

* Change RangeAroundTransformTile Provider to use the new API.

* Add sample camera script for pan & zoom .

* Update scene to use the new camera script.

* Add reposition tile logic to RangeAroundTransformTileProvider.

* Add method to click and get latlong under the mouse.

* Added relative panning from camera

* removed unnecessary line of code

* Quick fix for panning speed

* Clean up script and scene.

* Update Changelog

* Fix satellite imagery on roof not working. (#638)

* Fix satellite imagery on roof not working.

* Remove commented code.

* Update changelog

* Disable buildingsWithUniqueIds setting for MapboxStreets data source.  (#655)

* Added workaround to prevent users from accidentally turning on filtering for MapboxStreets building.

* Update changelog

* Disable InitializeOnStart when `InitializeWithLocationProvider` is used.  (#656)

* Disable initialize on start for AR cases.

* Add check to make sure map is initialized before updating tiles.

* Updated changelog

* Updated manual synchornization example scene (#636)

* updated manual synchornization example scene

* Update TouchCamera.cs

Uncommented line at 38.

* added hint text to ManualSyncScene

* fixed namespaces & moved scripts to new folder

* updated scene & made a new manual aligment prefab

* added namespace to UpdateMapPosByARPlaneY.cs

* Changed map update to correct method.

* Update ProjectSettings.

* Updated version number +scenelist

* Update scene to show ObjectInspector panel again.

* fix a bug in LayerPropertyIsEqualFilterComparer  (#662)

* fix a bug in LayerPropertyIsEqualFilterComparer where it does <= instead of == (fixes #660)

* Simplified expression.

* Fix incorrect editor culture handling on some locales (#658) (#659)

Geocode coordinates are now converted with InvariantCulture, which makes sure they do not depend on the locale of the computer being used.

* Set scaleFactor = 1 in property drawer. (#665)

* Fix custom mapid (#666)

* Fix custom mapId being overridden by empty string.

* Add missing reference

* removed error messages from manual touch script (#667)

* Fix scaling for world scale when zoom level was changed. (#668)

* Update worldscale AR scene - fix ARDelta not registering.

* fix a bug where SpawnInsideModifier getting stuck in infinite loop (#676)

* fix a bug where SpawnInsideModifier getting stuck in infinite loop

* Update changelog

* Remove duplicate scene.

* Make internal method private.

* Update Image settings to use retina & mip map

* Add BuildingsWithUniqueIds checkbox back.

* Update changelog & license.

* Update scene.

* Update ISSUE_TEMPLATE.md (#694)

add
* Scripting Runtime Version: 
* Scripting Backend: 
* Api Compatibility Level:

* Add onUpdated event to the map. (#704)

* Add onUpdated event to the map. Fix Directions Factory to use the onUpdated event.

* Add code comments

* Update changelog

* Update to latest ARInterface (#699)

* update to latest https://github.com/Unity-Technologies/experimental-ARInterface

* Poi locations (#716)

* Updated version number +scenelist

* Update scene to show ObjectInspector panel again.

* fix a bug in LayerPropertyIsEqualFilterComparer  (#662)

* fix a bug in LayerPropertyIsEqualFilterComparer where it does <= instead of == (fixes #660)

* Simplified expression.

* Fix incorrect editor culture handling on some locales (#658) (#659)

Geocode coordinates are now converted with InvariantCulture, which makes sure they do not depend on the locale of the computer being used.

* Set scaleFactor = 1 in property drawer. (#665)

* Fix custom mapid (#666)

* Fix custom mapId being overridden by empty string.

* Add missing reference

* removed error messages from manual touch script (#667)

* config done

* sorted the working of the class based on the concatenation check

* Fix scaling for world scale when zoom level was changed.

* Fix scaling for world scale when zoom level was changed. (#668)

* tree view added

* adding first vertex default

* Persist layer selection across play & edit mode.

* null exception fixed

* Update VectorLayerPropertiesDrawer.cs

fixed arry index error for the issue

* some more work done with props

* functioning multiselect and complete ui

* cases handled

* setting defaults

* functioning categories

* Create new POI placement scene with prefabs (#685)

* Alphabetize categories (#688)

* adding new architecture

* ..

* popularity and name filters in

* density done

* bugs fixed

* in-progress visualizer for specific locations

* build vectorfeatures in visualizer

* Address search UI

* null check on user provided coordinates

* search UI improvements

* separate truncated coordinates for UI

* Create new location prefabs (#696)

* adding convenience methods to AbstractMap

* functional specific locations visualizer

* adding fix to type filter

* Add description of scene and update modifiers (#697)

* completed PlacePrefabAtGeoLocation methods and callbacks, added null checks

* adding check to make sure inactive doesnt spawn anything

* added callbacks to remaining methods

* need help to fix the issue. but, crash stopped now

* fix null reference errors in the treeview when selected items are removed via undo or at runtime.

* Reorganize files for consistency (#703)

* apply snapterrain modifier in LocationPrefabLayerVisualizer

* vectortilefactory builds layers with an empty string

* fix for source

* handling no prefab found

* ..

* adding source warning to the location prefabs section

* adding fixes to not spawn prefabs based on source

* Update tooltips and naming

* update AbstractMap methods

* name objects in hierarchy based on sublayer name

* fix layer properties spacing

* fix for the streets v7 to remain fixed

* Fix NREs when undoing layer creation, Location prefabs layers persist

* Rename POI Placement example

* Move API test script

* Rename API Test script

* update changelog

* Location prefabs layers respect performance options

* update performance options accessor

* Correct name and namespace of test script

* wip

* refactor API methods

* code cleanup

* remove popularity enum

* Fix active check in locationprefablayervisualizer

* Remove incorrect break

* remove commented lines

* Fix layer check in abstract map spawnprefab methods

* simplify example script

* update example

* update changelog

* remove empty class

* Fix formatting

* Fix type

* Data fetcher (#712)

* add terrain creation strategies
change abstract map to use terrain factory base and strategies

* remove terrain factories
change terrain layer to use terrain and strategies

* add data fetcher class and extract data fetching from factories

* add ImageDataFetcher and change image factory to use it

* add vector data fetcher
change internal methods to protected

* Update changelog

* fix a bug where side wall mesh generation doesn't work with elevated terrain (#723)

* Android native location plugin (#724)

* [wip] backport native Android Location Plugin

* [wip] backporting native Android GPS

* update Android GPS plugin

* [wip] LocationProvider example scene

* [wip] native android location provider

* loop through LocationArrayEditorLocationProvider instead of repeating last position

* increase  desired accuracy

* New scene settings.

* [wip] EditorGpsLogLocationProvider

* try to rotated map

* update scene

* fix RotateWithLocationProvider to not overwrite existing rotation values

* fix logic for 'IsLocationUpdated'

* increase follow factor

* [wip]: split Heading into Heading and Orientation

* Update scene to move map instead of player.

* [wip] try to rotated map

* backport Location.DeviceOrientation and Location.UserHeading to default DeviceLocationProvider

* [wip] calculate UserHeading with weigthed formula

* CircularBuffer tests

* fix typos in CircularBuffer test

* update changelog

* fix DeviceOrientation in LocationProviderTest scene. Some other small fixes.

* save scene

* Remove unused file (#729)

* Remove unused file

* Fix OnDestroy errors in Image & terrain factory.

* Nesting sections gui (#735)

* basic cosmetic changes in

* ui issue fixed

* duplicate layers taken care of

* fixed indentation issues and checkboxes

* added the new UI to the common area

* cosmetic changes done

* small language change

* Ui formatting cleanup (#738)

* basic cosmetic changes in

* ui issue fixed

* duplicate layers taken care of

* fixed indentation issues and checkboxes

* added the new UI to the common area

* cosmetic changes done

* Switch to EditorGuiLayout and some UI formatting changes.

* Preload names from tile json {WIP DO NOT MERGE} (#727)

* adding the data structure for processing tilejson response

* removed datatype... cleaned the class for ease of use in the future

* new architecture works

* wip

* all visible features in for now..

* hacky fix

* fixed indices

* adding unity objectId to editorprefs

* mysterious unexplained behaviour.. handled it with a hack

* solid fix this time.. mystery resolved
-Sherlock Holmes

* added warning for invalid tilejson response

* basic cosmetic changes in

* ui issue fixed

* duplicate layers taken care of

* fixed indentation issues and checkboxes

* add check for loaded tileJSON

* added the new UI to the common area

* cosmetic changes done

* adding formatting changes

* Update 05-changelog.md

Adding preloaded layers feature to the changelog

* Switch to EditorGuiLayout and some UI formatting changes.

* Fix layer renaming in treeview (#748)

* Fix layer renaming in treeview, make layer selection persist during serialization.

* Fix geocode attribute drawer not working by itself.

* removing unnecessary lines

* Fix errors in individual modifier UI's. Remove unused files.

* Monobehavior inheritance (#730)

* Allow MonoBehaviour message inheritance (#654)

* Allow MonoBehaviour message inheritance

Removes private modifier restrictions from Mapbox Unity classes that inherit from MonoBehaviour. Applies protected virtual modifier to any use of MonoBehaviour Messages detailed here: https://docs.unity3d.com/ScriptReference/MonoBehaviour.html

* Remove Update from GlobeTileProvider

Adding TileCover is only needed once, but was attempted every frame.

* Change remaining private accessors to protected virtual.

* Ui notoken fix (#749)

* Add catch to exception on initial no token.

* Fix loading of UI when token is added.

* Add POIItems to node editor.

* no access token handled

* fixed helpbox text

* Fix indentation, add styles for "no internet" errors, fix error with filter property dropdown.

* small fix to catch no access token exception properly

* made the filter section uniform with other elements

* Change location provider folder/scene name (#750)

* Ui dropdown fix (#756)

* fix for the drop downs

* Fix for UIlayout mismatch warning.

* custom data source fix

* property names index fixed now

* fix argument out of range issue.

* catch errors when string properties are passed to extrusion modifiers

* custom empty string fixed

* removing an unnecessary debug.log

* 1.4.2 example scene updates (#760)

* fix for the drop downs

* Fix for UIlayout mismatch warning.

* custom data source fix

* property names index fixed now

* fix argument out of range issue.

* catch errors when string properties are passed to extrusion modifiers

* updated prefabs and prefab example scenes

* Fix example scenes (#757)

* Ui dropdown fix (#758)

* fix for the drop downs

* Fix for UIlayout mismatch warning.

* custom data source fix

* property names index fixed now

* fix argument out of range issue.

* catch errors when string properties are passed to extrusion modifiers

* custom empty string fixed

* removing an unnecessary debug.log

* string lookup for properties

* Add property to display description of the property.
Fixes error on dictionary lookup for description.

* Fix array out of bounds for filters

* Check for key before adding it.

* fixed the DataExplorer scene

* handle invalid property selections in extrusion options and filters

* cleanup variables

*  custom tileset fix

* update changelog

* fix to add layers with no properties

* change filter property warning

* cleanup commented section

* Update scenes & prefabs

* Change LocationPrefabs to POIPlacement

* Move locationProvider to playground.

* Remove unused folder. (#761)

* Merge master develop (#773)

* Release/v1.4.1 (#682)

* Fix to properly show Mesh & GO modifiers in the UI

* Add UI for removing/combining filters

* Break classes into separate files, remove MapAPI wrapper. UnifiedMap takes over the functionality.
Fix bug with filters

* Add new prefabs for LocationBasedGame and CitySim

* Fixes loadingPanel script to work with UnifiedMap

* Trigger finished state when no vector layer is turned off.

* Fix mapId for Satellite & satellite-streets

* update PR template

* Update UI to match design - round 1

* Add new data containers

* Enable loading external configurations - take 2 (#552)

* carry over changes from https://github.com/mapbox/mapbox-unity-sdk/pull/352 to latest develop

* Fix the merge typo.

* Integrate mapbox-ar-unity (#544)

* add ARCore, ARKit, UnityARInterface

* Mapbox AR code and examples

* add KalmanFilter

* some updated metas

* fix .gitignore to not ignore parts of ARCore

* add AR prefabs

* fix .gitignore for .metas from temp files from docs generation

* add additional properties to `Location`

* add helper class for onscreen console

* [wip] integrate AR

* more logging for caching

* MBTilesCache: Windows fix for path and filenames with +260 chars

* add some logging to AbstractMap.cs

* add editorconfig

* debug messages around telem lib initialization

* ARTableTop: test in Vienna

* ProjectSettings: enable AR on Android

* remove Debug messages

* fix typo in TelemetryAndroid.cs file name

* add layers needed for AR demo to the project settings

* fix Unity's byte stripping for .Net 4.6 and IL2CPP

* throw out uncessary stuff that comes with UnityARInterface and ARCore

* update readme, add AR readme.

* update CHANGELOG

* wip integrate ar

* Throw away unused ARKit stuff.

* Update prefabs & scene

* Add defaults options + linewidth parameter.

* Add mockup for Presets UI

* Adding tooltips for General, Image & Terrain sections.

* Fix extra space in Terrain UI.

* [WIP] Remove old map files, rename UnifiedMap to AbstractMap - working towards clean merge.

* [WIP] Replace old VectorTileFactory with refactored ( VectorTileFactoryNew gets renamed)

* add kalman comment

* appveyor: don't use PowerShell to download docfx

* Fix typo in terrain source.

* New textures/materials for default building style

* Merge StyleOptimizedVectorTileFactory functionality into VectorTileFactory

* Updated settings to TextureSideWall

* VectorLayerVisualizer refactor.

* Hookup node editor with Plug & play refactor.

* Add tooltips for vector section.

* Add missing changes to VectorTIle.cs

* add QueryTerrainHeight function to AbstractMap (#571)

Looks good.

* try with GPS position/heading, ignoring AR and bias

* Fix compile error related to return type. (#572)

minor change.

* Added a API call to query height 

Added a API call on AbstractMap to query height at a certain latitude longitude.

* Add preset defaults switching + snapMaptoZero hookup.

* Changes to MapEditor.

* Add code comments for LatitudeLongitudeToTileId change. (#573)

* Fix compile error related to return type.

* update code comments

* Layer Visualizer for Building Ids (#502)

* change VectorFeatureUnity and VectorLayerVisualizer classes to support buildings ids and do not render duplicates of same featuer from different tiles

* add comments for an if clause in VectorFeatureUnity

* Uv mapping (#503)

* add uv mapping height modifier and a demo scene to show it off

* fix TextureSideWallModifier to respect min_height property

* fix a bug in wall segment calculation in TextureSideWallModifier where CenterSegment feature yielded long first sections
fix a bug in PolygonModifier where it doesn't create tangents
fix wrong asset bindings

* fix an issue where TextureSideWallModifier doesn't take atlas section height into consideration

* add a 8 building texture atlas

* add new texture from random google images

* fix a bug where bottomOfMidUv was calculated wrong

* Fix formatting.

* Add atlas texturing modifier into Plug & play UI.

* Remove presets from map

* work on DeviceLocationProvider, AutomaticSyncScene: size of player shows hdop, remove some debug statements

* Add parameters to hookup Globe terrain factory.

* Mapbox styles - MapboxStyles shader for layer colorization, AtlasTemplateGenerator for creating template images from AtlasInfo files, various scripts for assisting with building colorization.

* Set defaults for all properties

* Add API calls for layers

* Renamed AddColorizeMapboxStyles.cs to MapboxStylesColorModifier.cs to better match existing nomenclature. Refactored MapboxStylesColorModifier.cs: Run method no longer adds ColorizeMapboxStyles.cs monobehaviour to VectorEntity.GameObject; Run method now includes all logic for color selection and material property setting previously found in ColorizeMapboxStyles.cs;  utilizes VectorEntity's cached MeshRenderer component to set colors. Deleted ColorizeMapboxStyles.cs and ColorizeMapboxStylesEditor.cs.

* Add custom option to primitive type - for fully custom modifier stack.

* Hook up scriptable pale…
  • Loading branch information
abhishektrip authored Aug 22, 2018
1 parent 4d11d7a commit 488cf93
Show file tree
Hide file tree
Showing 39 changed files with 652 additions and 230 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mapbox-unity-sdk
### For Unity 2017.1+
### For Unity 2017.1.2+

**AR support requires Unity 2017.3+, Android 7+ (Nougat), iOS 11.3**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public bool Equals(UnwrappedTileId other)

public override int GetHashCode()
{
return X ^ Y ^ Z;
return (X << 6) ^ (Y << 16) ^ (Z << 8);
//return X ^ Y ^ Z;
}

public override bool Equals(object obj)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 8
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
Expand All @@ -39,6 +39,7 @@ RenderSettings:
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.4465785, g: 0.49641252, b: 0.574817, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
Expand All @@ -54,11 +55,10 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 9
serializedVersion: 10
m_Resolution: 2
m_BakeResolution: 40
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
Expand Down Expand Up @@ -437,6 +437,11 @@ Prefab:
propertyPath: m_SizeDelta.x
value: 0
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 @@ -511,6 +516,16 @@ Prefab:
propertyPath: _options.tileMaterial
value:
objectReference: {fileID: 2100000, guid: b9f23e9bce724fa4daac57ecded470b8, type: 2}
- target: {fileID: 114105500206378512, guid: 35ce2bb4caba9434db5e656796b632b1,
type: 2}
propertyPath: _options.extentOptions.rangeAroundTransformOptions.visibleBuffer
value: 1
objectReference: {fileID: 0}
- target: {fileID: 114105500206378512, guid: 35ce2bb4caba9434db5e656796b632b1,
type: 2}
propertyPath: _options.extentOptions.rangeAroundTransformOptions.disposeBuffer
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 35ce2bb4caba9434db5e656796b632b1, type: 2}
m_IsPrefabParent: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 8
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
Expand All @@ -39,6 +39,7 @@ RenderSettings:
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
Expand All @@ -54,11 +55,10 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 9
serializedVersion: 10
m_Resolution: 2
m_BakeResolution: 40
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
Expand Down Expand Up @@ -331,7 +331,7 @@ MonoBehaviour:
disposeBuffer: 0
placementOptions:
placementType: 1
snapMapToZero: 1
snapMapToZero: 0
scalingOptions:
scalingType: 1
unityTileSize: 100
Expand Down Expand Up @@ -3282,7 +3282,7 @@ Prefab:
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0.000015258789
value: 0
objectReference: {fileID: 0}
- target: {fileID: 114731470950229392, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1912,62 +1912,62 @@ Prefab:
- target: {fileID: 224907993215804030, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.x
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224907993215804030, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
value: 116.5
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
value: -69.706314
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: 213
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 119.41262
objectReference: {fileID: 0}
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 139.41263
objectReference: {fileID: 0}
- target: {fileID: 224907856650798614, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.x
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224907856650798614, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224907856650798614, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: -17
objectReference: {fileID: 0}
- target: {fileID: 114603753021256032, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand Down Expand Up @@ -2003,7 +2003,7 @@ Prefab:
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
value: -0.000015258789
objectReference: {fileID: 0}
- target: {fileID: 114731470950229392, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2348,47 +2348,47 @@ Prefab:
- target: {fileID: 224907993215804030, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.x
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224907993215804030, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
value: 116.5
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
value: -88.09157
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.x
value: 0
value: 213
objectReference: {fileID: 0}
- target: {fileID: 224835413515161394, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 156.18314
objectReference: {fileID: 0}
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_SizeDelta.y
value: 0
value: 176.18314
objectReference: {fileID: 0}
- target: {fileID: 224907856650798614, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand Down Expand Up @@ -2441,7 +2441,7 @@ Prefab:
- target: {fileID: 224857786874416376, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
propertyPath: m_AnchoredPosition.y
value: -0.000015258789
value: 0
objectReference: {fileID: 0}
- target: {fileID: 114731470950229392, guid: 98be219873e6d4dffb5949746f515a33,
type: 2}
Expand Down Expand Up @@ -2559,6 +2559,10 @@ Prefab:
value:
objectReference: {fileID: 11400000, guid: 02a98fd6de7af4e4985b970acb849e8b,
type: 2}
- target: {fileID: 1393483683185582, guid: b95c449128f3b44bca8b83258c669aa5, type: 2}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: b95c449128f3b44bca8b83258c669aa5, type: 2}
m_IsPrefabParent: 0
Expand Down Expand Up @@ -2615,15 +2619,15 @@ Prefab:
m_Modifications:
- target: {fileID: 4049744316354048, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalPosition.x
value: -242.22789
value: -158.8
objectReference: {fileID: 0}
- target: {fileID: 4049744316354048, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalPosition.y
value: -8.777344
objectReference: {fileID: 0}
- target: {fileID: 4049744316354048, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalPosition.z
value: 231.72803
value: 227.7
objectReference: {fileID: 0}
- target: {fileID: 4049744316354048, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalRotation.x
Expand All @@ -2649,6 +2653,14 @@ Prefab:
propertyPath: m_Name
value: Waypoint1
objectReference: {fileID: 0}
- target: {fileID: 4924304480808200, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4924304480808200, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
propertyPath: m_LocalPosition.y
value: 17.04
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 8f623e0b3327a1b4bbee73a6363ad280, type: 2}
m_IsPrefabParent: 0
Expand Down
Loading

0 comments on commit 488cf93

Please sign in to comment.