Skip to content

[Bug] "Cannot find namespace google" on version => 1.1.1 #519

@r2DoesInc

Description

@r2DoesInc

Description

Since updating to version 1.1.1 and 1.1.2 from 1.1.0, I am no longer able to build my project as the google namespace is not available.

image

Hard coding 1.1.0 and reinstalling works perfectly.
image

Including @types/google.maps with the updated library version also did not seem to work.

Steps to Reproduce

Set your dependency version to "@vis.gl/react-google-maps": "^1.1.1" or "@vis.gl/react-google-maps": "^1.1.2",

Define a polygon object - or anything else from google.maps
let polygon: google.maps.Polygon

Environment

  • Library version: => 1.1.1
  • Google maps version: weekly
  • Browser and Version: n/a
  • OS: n/a

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions