Skip to content

New sample demos for Cloud Styling, Roadmap Mode, Data Visualization,… - #50

Open
LoyalAbbas wants to merge 1 commit into
mainfrom
feature/new_features_with_0.2.2_sdk
Open

New sample demos for Cloud Styling, Roadmap Mode, Data Visualization,…#50
LoyalAbbas wants to merge 1 commit into
mainfrom
feature/new_features_with_0.2.2_sdk

Conversation

@LoyalAbbas

Copy link
Copy Markdown
Collaborator

New 3D SDK Showcase Features Added

Path Following (PathFollowingActivity): Real-time camera trajectory tracking along 3D polylines across urban (NYC) and rural (CA) routes with interactive altitude, range, speed, and heading controls.

Advanced Camera Animation (AdvancedCameraAnimationActivity): Animated 3D glTF airplane model paired with multi-step keyframe flight tours, frame dispatcher chase cameras, and 360° orbital landmark spins over San Francisco.

Roadmap Mode (RoadmapModeActivity): Showcase of 3D Vector Roadmap mode featuring 3D building geometries and street hierarchy layouts with dynamic switching between Roadmap, Hybrid, and Satellite modes.

3D Data Visualization (DataVisualizationActivity): Dynamic 3D flood elevation volume extrusion over coastal waterfront terrain with real-time risk severity badges and surge animation.

Field of View (FieldOfViewActivity): Camera perspective distortion and deterministic optical dolly-zoom scaling with live FOV slider adjustments (15°–120°) and instant lens presets.

Cloud-Based Map Styling (CloudStylingActivity): Custom map styling integration using Cloud Map IDs across 3D vector map layers with dynamic render mode support.

… Field of View, Path Following, and Advanced Camera Animation

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Android Lint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

<activity android:name=".placedetails.PlaceDetailsActivity" android:exported="true" android:label="Place Details" android:theme="@style/Theme.AppCompat.DayNight.NoActionBar" />
<activity android:name=".advancedcameraanimation.AdvancedCameraAnimationActivity" android:exported="true" android:label="Advanced Camera Animation" />
<activity android:name=".datavisualization.DataVisualizationActivity" android:exported="true" android:label="Data Visualization" />
<activity android:name=".cloudstyling.CloudStylingActivity" android:exported="true" android:label="Cloud Map Styling" />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This has been removed, but CloudStylingActivity is still an activity on the code. Regression?

import com.google.maps.android.compose3d.PolylineConfig
import kotlinx.coroutines.delay

class PathFollowingActivity : ComponentActivity() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This doesn't seem to use SampleBaseActivity.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I did this intentionally. The reason is that PathFollowingActivity needs its own specific UI controllers for the demonstration. If I were to extend SampleBaseActivity here, it would unnecessarily result in two different layouts trying to initialize the map instance.

However, if you look at the other features like DataVisualizationActivity, RoadmapModeActivity, etc., I did utilize the SampleBaseActivity layout by dynamically adding their respective controllers inside the activity_common_map layout.

Soon I will change for PathFollowingActivity also

@kikoso

kikoso commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

There are a bunch of changes introducing only reformatting changes (like in ComposeDemos/MainActivity.kt).

What if we agree to use the formatting rules from Android Studio, to avoid introducing those changes? Or if we want to formalise it, we could agree on using spotless, which can run on CI/CD.

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