Skip to content

bug(GoogleMapsComponent): Does not support vector maps #26821

@goog-bmilman

Description

@goog-bmilman

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

The Angular Google Maps Component when passed a mapID that is a vector map gets resolved to a raster map because the component references an outdated version of Maps api.

Reproduction

Steps to reproduce:

  1. Create a custom map in a cloud project in the Google Maps API UI. Create a vector map
  2. Pass the map ID when creating the GoogleMap component (more detailed instructions here: https://developers.google.com/maps/documentation/get-map-id)
  3. Log the google map object to check if it is vector or raster

Expected Behavior

I expect the map to be a vector map

Actual Behavior

It is a raster map

Environment

  • Angular: ng version did not work in blaze context
  • CDK/Material:
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions