Skip to content
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

FloorFliter: silence exception when floorManager is not set #353

Open
wants to merge 91 commits into
base: v.next
Choose a base branch
from

Conversation

ruiqima
Copy link
Collaborator

@ruiqima ruiqima commented Mar 11, 2024

The scope of this issue is to make sure that an exception is not thrown and the app does not crash if the GeoModel used to create it doesn't have the floorManager. The failure should eventually be handled by a callback, but that will be handled in a different issue.

Changes

  • Replace error throwing with return.

puneet-pdx and others added 30 commits October 10, 2023 10:29
* changes to display a map

* remove unnecessary line

* add viewmodel to the micro app

* Revert "add viewmodel to the micro app"

This reverts commit cfc6b0b.

* address code review feedback

* remove unused imports
* add overlay support

* add doc

* remove the fillmaxsize modifier
* add viewpointChangedLambda

* address code review feedback
* add location display micro app

* add location permissions

* add support for location display

* screen to start/stop a location display

* fix typo

* show error message if location display fails to start

* add AppBar and auto pan mode options

* fix type of key

* improve doc

* add readme

* adjust screen shot size

* adjust screen shot size

* set MapView properties in the update callback

* use by remember for mutable state

* set error message when LDS fails to start when toggling switch

* fix doc references to composable Map
* add implementation for gesture events

* update SDK dependency
add Events exposed on GeoView

* address code review comment

* address code review comments

* refactor mapView.viewpointChanged
* add support for attribution text

* combine attribution bar properties/events in a state object

* refactor mapview parameter list

* update collect lambda

* Update doc

* update doc
* invoke currentOnInteractingChanged with initial value of isInteracting

* add callback to mapview

* rm initial value calls

* change ?.let calls to ?.invoke

* move parameter above onInteractingChanged

* move launch statement above onInteracitngChanged
* add mapview inset app

* add app to settings.gradle

* WIP

* update formatting

* address code review comments

* update setViewInset values

* add readme

* Update README.md

* add doc

* address code review feedback

* rename mapinsets to insets

* rename mapinsets

* update doc

* address code review comments
* create MapViewOperator class

* add param to MapView composable

* add locationToScreen and doc

* more doc

* refactor MapView composable to remove unnecessary code

* move mapoperator mapview setting to own disposable effect

* don't use synchronize for operations

* Eof newline

* make MapViewOperator derive from a new GeoViewOperator

* eof newline

* return null if nan from locationToScreen

* add copyrights

* fix doc

* fix doc

* rename operator to proxy

* rm overlay param again

* Update toolkit/geo-compose/src/main/java/com/arcgismaps/toolkit/geocompose/GeoViewProxy.kt

Co-authored-by: Gunther Heppner <gheppner@esri.com>

* Update toolkit/geo-compose/src/main/java/com/arcgismaps/toolkit/geocompose/MapView.kt

Co-authored-by: Gunther Heppner <gheppner@esri.com>

* Update toolkit/geo-compose/src/main/java/com/arcgismaps/toolkit/geocompose/MapViewProxy.kt

Co-authored-by: Gunther Heppner <gheppner@esri.com>

* Update toolkit/geo-compose/src/main/java/com/arcgismaps/toolkit/geocompose/MapViewProxy.kt

Co-authored-by: Gunther Heppner <gheppner@esri.com>

* Update toolkit/geo-compose/src/main/java/com/arcgismaps/toolkit/geocompose/MapViewProxy.kt

Co-authored-by: Gunther Heppner <gheppner@esri.com>

* Apply doc fixes from code review

Co-authored-by: Puneet Prakash <puneet_prakash@esri.com>

* mv param below geometry editor

* fix doc line length

* fix param doc

* fix param doc

---------

Co-authored-by: Gunther Heppner <gheppner@esri.com>
Co-authored-by: Puneet Prakash <puneet_prakash@esri.com>
* add support for onNavigationChanged

* add doc
* support for ViewpointOperation - initial commit

* MapViewpointOperation - prototyping

* implement await() on MapViewpointOperation, remove onCompleted callbacks

* renaming

* add execute extension for remaining operations

* rename Bounding to SetBoundingGeometry

* add set bookmark

* add remaining operations to when statement

* make execute an abstract fun on MapViewpointOperation

* Add set viewpoint app

* fix typo

* add dependency to microapp on geocompose

* add simple app to set viewpoint with different options

* add progress indicator to demonstrate await pattern

* extract bookmark to remembered val

* make abstract fun an extension fun instead

* add doc

* add readme to microapp

* eof newline

* fix readme title

* rever locationdisplayapp changes

* update screenshot

* update readme wording

* use a simple list instead of reflection

* add doc to MainScreen

* add dash to project app name

* naming and doc changes

* mv onViewpointChanged parameter

* change dfeautl animate duration to 0.25

* update microapp module namw

---------

Co-authored-by: Hudson Miears <hud10837@esri.com>
hud10837 and others added 22 commits January 19, 2024 17:43
* add sceneview ambientLightColor param

* add space effects on scene view

* update the comment

* fix doc

* create lighting options microapp base

* set up dropdown menu

* add sun time options

* add lighting mode options

* add Ambient light color options

* add atmosphere effect options

* add space effect options

* change viewpoint and fix sun time picker

* clean up code

* use sliders instead of textfields for rgb colors

* add doc

* add readme and screenshot

* eof newline

* add doc to components

* add missing imports

* Add doc DropdownMenuAlertDialog

* add missing copyright headers

* add doc RgbaSlider

* add remaining doc

* Update microapps/SceneViewLightingOptionsApp/README.md

Co-authored-by: Gunther Heppner <gheppner@esri.com>

---------

Co-authored-by: Changan Shi <cshi@esri.com>
Co-authored-by: Gunther Heppner <gheppner@esri.com>
Co-authored-by: Soren Roth <sor10874@esri.com>
Co-authored-by: Soren Roth <sor10874@esri.com>
* init implementation for camera controller

* add gitignore

* adds comments and remove view model.

* update the doc and png image

* update the comment

* add the extra space line

* update the screenshot

* review update

* update the 2023 comment

* update the comment

* review update
* change name of Licesne file in preparation for migration to Esri

* revert change to license file name

* remove extra license file

* Update README.md images (#102)

* holder commit

* Update README.md

update link

* upload screenshot image

* add images to the micro app

* Update README.md

* Update README.md

* use updated name of the auth dependency in README

* Create t9nmanifest.txt (#167)

* removed module and microapp (#208)

* Update gradle.properties (#211)

* Update build.gradle.kts (#212)

* updates client id and redirect Uri (#216)

* Take out build numbers for publishing (#219)

* update dependency section of readme for 200.3.0 (#220)

* Improve WebView Display (#213)

* Update gradle.properties (#238)

* Update dependency versions (#235)

* kdoc project to doc the released toolkit components. (#284)

* kdoc project to doc the released toolkit components.

* add dependencies on the dependencies of the released projects.

* Update kdoc/build.gradle.kts

Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>

---------

Co-authored-by: Soren Roth <sor10874@esri.com>
Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>

* add kdoc project!

---------

Co-authored-by: Soren Roth <sor10874@esri.com>
Co-authored-by: Puneet Prakash <puneet_prakash@esri.com>
Co-authored-by: Rama Chintapalli <rchintapalli@esri.com>
Co-authored-by: Shubham Sharma <shubhamsharma@esri.com>
Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>
Co-authored-by: Gunther Heppner <gheppner@esri.com>
Co-authored-by: hud10837 <hmiears@esri.com>
* add micro app

* update doc

* add readme, screenshot. Remove use of spinner

* update readme

* update doc

* update readme

* update screenshot

* update image,
add new location
remove unused imports
* add readme and screenshot to geo-compose module

* use table for screenshot

* reduce screenshot size

* reduce screenshot size

* reduce screenshot size

* increase screenshot size

* reduce screenshot size
* changes for authentication and compass app

* update floorfilter micro app

* deprecate composable map

* update deprecated annotation

* add deprecation annotation to public components

* update template-app to use geo-compose module

* remove unused import
reformat code
* modify mapview with new params

* modify sceneview with new params

* delete viewpointchangedstate
* rm MapViewpointOperation

* rm SceneViewpointOperation

* add mapviewproxy methods

* add sceneviewproxy methods

* update mapview set viewpoint app

* refactor sceneview setviewpointapp

* refactor mapview setviewpointapp to match structure of sceneview app

* update readmes

* rm progress indicator from sceneview app

* address pr comments

* address pr comments
* Update SceneViewCameraController app to use SceneViewProxy setViewPointCameraAnimated function

* update floorFilterApp
* change name of Licesne file in preparation for migration to Esri

* revert change to license file name

* remove extra license file

* Update README.md images (#102)

* holder commit

* Update README.md

update link

* upload screenshot image

* add images to the micro app

* Update README.md

* Update README.md

* use updated name of the auth dependency in README

* Create t9nmanifest.txt (#167)

* removed module and microapp (#208)

* Update gradle.properties (#211)

* Update build.gradle.kts (#212)

* updates client id and redirect Uri (#216)

* Take out build numbers for publishing (#219)

* update dependency section of readme for 200.3.0 (#220)

* Improve WebView Display (#213)

* Update gradle.properties (#238)

* Update dependency versions (#235)

* kdoc project to doc the released toolkit components. (#284)

* kdoc project to doc the released toolkit components.

* add dependencies on the dependencies of the released projects.

* Update kdoc/build.gradle.kts

Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>

---------

Co-authored-by: Soren Roth <sor10874@esri.com>
Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>

* Add version to API ref (#314)

---------

Co-authored-by: Soren Roth <sor10874@esri.com>
Co-authored-by: Soren Roth <sroth@esri.com>
Co-authored-by: Rama Chintapalli <rchintapalli@esri.com>
Co-authored-by: Shubham Sharma <shubhamsharma@esri.com>
Co-authored-by: Erick Lopez Solis <erick_solis@esri.com>
Co-authored-by: Gunther Heppner <gheppner@esri.com>
Co-authored-by: hud10837 <hmiears@esri.com>
…eOverlayCollection (#320)

* Remove GraphicsOverlaysCollection and its usage
Add parameter to MapView to take graphicsOverlays as List

* update mapView and SceneView to use arrays for image overlays and analysis overlays
update micro app

* update geometry editor micro app

* remove all graphics overlays, rather than just clear graphics

* Update param type to List

* remove comma

* update doc

* update micro app

* remember emptylist()

* use it instead of mapView

* use it instead of sceneView

* use it instead of sceneView

* use it instead of sceneView

---------

Co-authored-by: Gunther Heppner <gheppner@esri.com>
* add remember to default parameters in mapview

* add remember to default parameters in sceneview

* add circular progress indicator to sceneview setviewpoint microapp

* fix lighting options app

* use defaults for sceneview

* add mapviewdefaults

* add doc
* add readme and screenshot to geo-compose module

* create microapp module

* add prototype version

* clean up implementation

* add readme

* update screenshot

* revert screenshot for GeoCompose

* update GraphicOverlays and AnalysisOverlay to use latest implementation

* update ReadMe

* fix typo

* add description doc for MainScreen()

---------

Co-authored-by: Puneet Prakash <Puneet_Prakash@esri.com>
@mikewilburn
Copy link
Collaborator

@ruiqima we will likely merge our feature branch into v.next soon. Can this PR target v.next instead?

@puneet-pdx puneet-pdx self-assigned this Mar 13, 2024
@puneet-pdx puneet-pdx changed the base branch from feature-branches/geo-compose to v.next March 14, 2024 16:01
@puneet-pdx puneet-pdx changed the base branch from v.next to feature-branches/geo-compose March 14, 2024 16:01
@puneet-pdx puneet-pdx self-requested a review March 14, 2024 20:43
Copy link
Collaborator

@puneet-pdx puneet-pdx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruiqima the change looks good, but as @mikewilburn said you will probably have to create another PR that is based on v.next to have a clean commit history.

Base automatically changed from feature-branches/geo-compose to v.next March 15, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants