-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/v1.4.1 (#682) #683
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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 #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.
isiyu
approved these changes
Apr 17, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
abhishektrip
added a commit
that referenced
this pull request
Apr 18, 2018
…editing-dev * commit '9778033c0d9549b8cc1a34fcc79501fbb89a208a': Release/v1.4.1 (#682) (#683) Release/v1.4.1 (#682) (#684) Updated manual synchornization example scene (#636) Disable InitializeOnStart when `InitializeWithLocationProvider` is used. (#656) Disable buildingsWithUniqueIds setting for MapboxStreets data source. (#655) Fix satellite imagery on roof not working. (#638) Add camera table top ar (#614) [publish docs] (#652) Ui fixes (#643) add feature collections and kdtree collection (#565) Playmode tests (#628) Collider Dropdown in Abstract Map for adding colliders on top of extruded geometry (#637) # Conflicts: # sdkproject/Assets/Mapbox/Unity/Map/RangeTileProvider.cs
abhishektrip
added a commit
that referenced
this pull request
May 14, 2018
* 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. * 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 issu…
abhishektrip
added a commit
that referenced
this pull request
May 14, 2018
* 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 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.2 (#772) * 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. * 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" func…
abhishektrip
added a commit
that referenced
this pull request
May 14, 2018
* 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 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.2 (#772) * 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. * 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 "upd…
abhishektrip
added a commit
that referenced
this pull request
May 15, 2018
* 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 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.2 (#772) * 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. * 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" f…
abhishektrip
added a commit
that referenced
this pull request
May 15, 2018
* 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 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.2 (#772) * 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. * 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"…
abhishektrip
added a commit
that referenced
this pull request
May 16, 2018
* 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. * 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…
abhishektrip
added a commit
that referenced
this pull request
May 16, 2018
* 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 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.2 (#772) * 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. * 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" func…
abhishektrip
added a commit
that referenced
this pull request
May 16, 2018
* 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 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.2 (#772) * 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. * 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 sc…
abhishektrip
added a commit
that referenced
this pull request
Jun 7, 2018
* 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. * 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 …
apavani
pushed a commit
that referenced
this pull request
Jun 7, 2018
* 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. * 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/m…
apavani
pushed a commit
that referenced
this pull request
Jun 7, 2018
* 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. * 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…
apavani
pushed a commit
that referenced
this pull request
Jun 7, 2018
* 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 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.2 (#772) * 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. * 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. …
apavani
pushed a commit
that referenced
this pull request
Jun 7, 2018
* Release/v1.4.3 (#845) * 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. * 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 templ…
apavani
added a commit
that referenced
this pull request
Jul 10, 2018
* 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 palette with P&P * Add code …
abhishektrip
added a commit
that referenced
this pull request
Aug 22, 2018
* 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…
abhishektrip
pushed a commit
that referenced
this pull request
Sep 6, 2018
* fixes an issue where mid and leftover row height calculations were wrong and caused overlapping polygons * update changelog * Release/v1.4.5 (#974) * 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 color…
abhishektrip
added a commit
that referenced
this pull request
Oct 9, 2018
* 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 scriptabl…
abhishektrip
added a commit
that referenced
this pull request
Oct 15, 2018
* renaming fixed * adding layers to the list fixed * active checkbox fixed * type fixed * Initial dev for hero structure spawning * adding cleaned up UI finally * adding some data * Fixes minor typo in README and CONTRIBUTING.md * type filter added * final bugfix * snap map height to zero * First POC of hero-building auto spawning using KD tree for range-based search and bounding box-based neighboring building culling. * Update 05-changelog.md * Release v1.4.4 (#906) * updates constants version to 1.4.4 * updates project settings version to 1.4.4 * -updates POIplacement example * turn off relative height (not used to show poi labels) * slows down camera pan * changes tile provider to camera bounds to load new tiles * updates lighting in data explorer scene * change traffic scene info text update traffic congestion textures * updates examples descriptions * - updates descriptions dialogs for 'Location-based Game', 'Traffic and Direcitons', 'Location Provider' - renames 'LocationBasedGame' to "Location-based Game" in the prefab examples, as well ass the ScenesList.asset (this was done manually, "Serialize Example Scenes" could not handle this case) * updates assets and prefablist to rename "Location Based Game" to "Location-based Game" * change set height function to check for cached imagery * update changelog * fix for custom styles that go missing after building to any platform * Update 05-changelog.md * Merge branch 'missing-styles-fix' into release-v1.4.4 * Merge branch 'imageRaceCondFix' into release-v1.4.4 * apply missing material to 'UserHeading' object in "LocationProvider" playground scene * updates "ScenesList" and "PrefabList" assets to accomodate "Location-based Game" naming in setup window * update to `PrefabList.asset` used for setup dialog * Moved ScriptablePalette.cs into new folder Mapbox/Unity/Styling * snap map height to zero * Update 05-changelog.md * [publish docs] * Fixed duplicate spawning of hero prefabs, improved runtime performance. * Refactored method call chain from Run to SpawnFeature to make more purely functional. * First iteration of cached, TileId-based dictionary lookups for hero building checks. * Removed HeroStructureCollection.cs; hero structures now stored directly in ReplaceHeroStructureModifier. Removed HeroStructure KDTree related assets. Cleaned up/renamed HeroStructureDataBundle -> HeroStructureData. * Refactored two methods that redundantly repeat identical looping code into one method that loops and runs a method passed as a param. * Refactored code to use Dictionary<string, List<HeroStructureData>> instead of HeroStructureDataCollection class. * Added new hero structure prefabs. Refactored centroid vector algorithm into a new method. * Removed OnValidate called functions from ReplaceHeroStructureModifier; radius and LatLon_Vector2d are now cached on Initialize(). * Refactored code to use a list of ReplaceFeatureModifiers. Removed HeroStructureData. Using foreach for sequential iteration, as the local var for list elements is access more than once per block...https://www.dotnetperls.com/for-foreach * change loading panel controller to re-enable panel when map is loading reduce loading panel side in data explorer scene introduce MapUpdate cycle starting from AbstractMap update method change FetchingError event signature (in data fetchers) to include tile object (which has error messages) * add TileFinished event to factories * fix tile providers' update methods not to leak memory * move TileCover.GetWithWebMerc method into QuadTreeTileProvider to prevent unnecessary allocation rename local fields in tile providers to start with underscore remove unused fields from tile provider * remove unused tile providers; CameraBoundsTileProvider.cs and ARTableTileProvider.cs * Added additional hero structures for Chrysler Building, Empire State Building and One World Trade Center. Renamed ReplaceHeroStructureModifier -> ReplaceFeatureCollectionModifier. * fix a bug in QuadTreeTileProvider where removal list wasn't cleared * Removed asymmetrical Begin/End Horizontal/Vertical calls that were causing UI errors. * Assigned HeroStructureDefault material to hero prefabs. * change terrain strategies not to add mesh filter, mesh rendererer and mesh collider on terrain move logic to add all those components into unity tile class * Implemented scriptable palette dropdown menu for simple texturing style. Moved scriptable palettes to Resources/MapboxStyles/Styles/MapboxSampleStyles/Simple/Assets/Palettes. * Removed Debug.Log call. * Changed layerNameLabel text to "Date Layer" to avoid confusion with "Name" in Map Features section above. * fix a bug in data fetchers where they attached data with recycled new (and wrong) tiles on data callback * Remove [SerializedField] attribute from the property. * fix vector layer visualizer to check for unity tile recycling * Move performance options back to top level setting. * Change TilePoviders to update only when Map changes. * add offset modifier to fix z-fighting * Add different versions of the UpdateMap function for convenience. * Add call to trigger UpdateMap. * Updated changelog. * Updated relevant scenes with correct custom material and palette assignment. * Fix bug where extent did not update when transform/camera was changed. * TIle state WIP * Light and dark texturing styles now allow for user defined opacity; new option 'color' allows for user defined color and opacity. * Integrated icons for showing selected color palette. * Refactored ReplaceFeatureCollectionModifier so that replace feature assignments are done directly in the collection modifier. * CustomEditor for modifier collection. * Remove layer subtype * Fix tree view bug - remove element was not working. * Integration of editor script. * Attempts to get property attributes to render in custom editor. * remove base material from ElevationRequiredOptions add tile material to MapOptions change MapManagerEditor to render tile material field in UI remove material assignment from terrain strategies * Clean up tile states. * change preset name to points * edit example info canvas text * Scriptable palette dropdown setting updates style icon display. * Integrated new building FBX models with frozen transforms/rotations baked in. Building FBX files require a model scale factor of 0.01 in Unity to scale dependably; will investigate this with Will Hickerson. Replace Feature Collection modifier provides rough UI for assigning replace feature options directly in the modifier, solving previous inspector jump problem. Replace Feature Modifier now checks if _tempFeatureId.Length is <= 3 before stripping the substring from it. * Updated changelog. * Reverting Project version * Fix Typo * Fix another typo :( * Remove link from the info panel. * Fix issue with camera bounds calculation. * clean up comments * change VectorLayerVisualizer to process feature in tile iff first point of that feature is in the tile (in buildingid mode only) * Create a new copy of hashset, prevents it from resetting to zero * New icons for palette dropdown. * Add Unregistered state to Tile State. * Fix bug with initial state not being set correctly. * Fix correct behavior for Terrain set to None. * Fix issue where mapvisualizer state will not reset to loading. * Added OnPoolItem method to ReplaceFeatureCollectionModifier; fixes recycled her building bug. * Spawn hero buildings at latlong instead of centroid of feature. * Remove warnings. * Reordered StyleTypes.Color declaration; moved to end of enum. Saved CitySimulator with correct texture setting, * Add check to avoid errors with Mapbox Streets. * Removed Guggenheim museum mesh/prefab due to scaling issues. Removed reference from modifier. Removed Willis tower model/prefab as we are not releasing Chicago assets yet. * Update prefabs and scenes. * Update changelog. * Corrected changlog hero building quantity. * Add imagery to interactive scene * Hero building showcase scene and UI. * Made _cameraPosition and _cameraRotation private. * Changed condition logic regarding UI input component reference acquisition. * Changed button look to flat. * Corrected typo in description text. * Editor script. * Updated DataExplorer (SnapToTerrain = true) and ZoomableMap (Zoom value = 16); removed editor script. * Set zoom slider to 10 to match zoom level in abstract map. * Added IconicBuildings scene to build settings. Created prefab of IconicBuildingMap and ReloadMapIconicBuildingCanvas. * Move scene to ReplaceFeatures Folder. * Removed unused variables and unused conditional statements. * Release/v1.4.5 (#974) * 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 * al…
abhishektrip
added a commit
that referenced
this pull request
Oct 15, 2018
* 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. * H…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 (Enable loading external configurations - take 2 #552)
carry over changes from Enable loading external configurations #352 to latest develop
Fix the merge typo.
Integrate mapbox-ar-unity (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 (add QueryTerrainHeight function to AbstractMap #571)
Looks good.
try with GPS position/heading, ignoring AR and bias
Fix compile error related to return type. (Fix compile error related to return type. #572)
minor change.
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. (Add code comments for LatitudeLongitudeToTileId change. #573)
Fix compile error related to return type.
update code comments
Layer Visualizer for Building Ids (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 (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 (Fix Turnstile #564)
Style development - colorization and atlas template generator (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 (updated Clip/Box shader #580)
updated shader
fix indentation
fixed indent
Recreate ZoomableMap and Globe with new Plug and Play functionality (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 (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 (Config window 1.4 #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 (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 subfolderRemove 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. (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. (Fix tile position issue with vector features. #629)
Change file folder names (Change file folder names #635)
Remove folder with bad name.
Change name of folder to MapboxStyles instead of MapBoxStyles
Fix range height extrusion (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 (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 (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 (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 (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
toData 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] ([publish docs] #652)
Add camera table top ar (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. (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. (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. (Disable InitializeOnStart whenInitializeWithLocationProvider
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 (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 (fix a bug in LayerPropertyIsEqualFilterComparer #662)
fix a bug in LayerPropertyIsEqualFilterComparer where it does <= instead of == (fixes operator "Is Equal" is wrong #660)
Simplified expression.
Fix incorrect editor culture handling on some locales (Geocode search windows can incorrectly convert doubles #658) (Fix incorrect editor culture handling on some locales #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. (Set scaleFactor = 1 in property drawer. #665)
Fix custom mapid (Fix custom mapid #666)
Fix custom mapId being overridden by empty string.
Add missing reference
removed error messages from manual touch script (removed error messages from manual touch script #667)
Fix scaling for world scale when zoom level was changed. (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 (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.
Related issue
Example: Closes #832. Relates to #832.
Description of changes
Your text here!
QA checklists
<summary>
description as well as description of parameters.Reviewers
Tag your reviewer(s). Choose wisely.