Closed vicb closed 2 months ago
This pull request modifies the Google Maps configuration in the MapElement class. The changes focus on adjusting the UI controls displayed on the map, disabling some default UI elements while enabling specific controls.
Files | Changes |
---|---|
apps/fxc-front/src/app/components/2d/map-element.ts |
Disabled the default UI for the Google Map |
apps/fxc-front/src/app/components/2d/map-element.ts |
Removed fullscreen control |
apps/fxc-front/src/app/components/2d/map-element.ts |
Removed street view control |
apps/fxc-front/src/app/components/2d/map-element.ts |
Added zoom control |
apps/fxc-front/src/app/components/2d/map-element.ts |
Added map type control |
The changes involve updates to the Google Maps API configuration in the MapElement
class, enhancing customization by modifying user interface controls. Additionally, the libs/secrets/package.json
file introduces a new dependency on @nx/webpack
, while the main package.json
reflects various version upgrades for multiple dependencies, indicating ongoing maintenance and improvement.
File | Change Summary |
---|---|
apps/fxc-front/src/app/components/2d/map-element.ts |
Modified Google Maps API configuration by removing fullscreenControl and streetViewControl , and adding disableDefaultUI , zoomControl , and mapTypeControl . |
libs/secrets/package.json |
Added new dependency @nx/webpack version 19.6.2 . |
package.json |
Updated multiple dependencies from @nx packages and others, including vite-plugin-dts and vite-plugin-pwa , with one package (@types/ioredis ) removed. |
sequenceDiagram
participant User
participant MapElement
participant GoogleMapsAPI
User->>MapElement: Interacts with map controls
MapElement->>GoogleMapsAPI: Configures map interface
GoogleMapsAPI-->>MapElement: Returns updated map view
MapElement-->>User: Displays customized map
π "In the land of code where changes bloom,
With maps that dance and zoom,
Goodbye to the clutter, hello to the new,
With webpack's magic, our paths are true!
Dependencies grow, like carrots in spring,
In the world of tech, letβs joyfully sing!" πΆ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Latest commit: |
5b214a0
|
Status: | β Deploy successful! |
Preview URL: | https://798bb186.flyxc.pages.dev |
Branch Preview URL: | https://virtual-branch-1.flyxc.pages.dev |
Summary by Sourcery
Enhance the map element by enabling zoom and map type controls, and disabling the default UI for a more customized map interface.
Enhancements:
Summary by CodeRabbit
New Features
Maintenance Updates
@nx
packages andvite-plugin-dts
.