Skip to content

fix: adjust distance limits for city 3D component interaction#50

Merged
manfredsteyer merged 2 commits intoangular-architects:mainfrom
wolfmanfx:main
Sep 30, 2025
Merged

fix: adjust distance limits for city 3D component interaction#50
manfredsteyer merged 2 commits intoangular-architects:mainfrom
wolfmanfx:main

Conversation

@wolfmanfx
Copy link
Collaborator

@wolfmanfx wolfmanfx commented Sep 29, 2025

Adjust City3D zoom to allow unlimited zoom with a floor at 0 and set initial distance to 20.
Fix demo user assignment logic in calcTeamAlignment function

BEFORE:

Zoom distance was clamped between 20 and 4000.
Initial camera distance was 100.
Demo users were not displayed because the did not had emails.

AFTER:

Zoom has no upper limit; minimum distance clamped at 0.
Initial camera distance set to 20.
Camera fit respects the 0 floor.
Demo users are shown as expected

Checklist for PR

  • [] PR is only about one and only one concern
  • Description contains a short title, an optional description, and the sections BEFORE and AFTER
  • (A) new short test(s) show(s) that the PR is working

@manfredsteyer manfredsteyer merged commit ac5a588 into angular-architects:main Sep 30, 2025
1 check passed
@manfredsteyer
Copy link
Contributor

manfredsteyer commented Sep 30, 2025

Big thanks!

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.

3 participants