Skip to content

Commit

Permalink
fix: update to the new interface (#293)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The new interface includes a change from positional args to a single options argument.
  • Loading branch information
jpoehnelt authored Feb 7, 2022
1 parent d6bf778 commit b625762
Show file tree
Hide file tree
Showing 5 changed files with 14,680 additions and 33 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

## Description

Add [three.js](https://threejs.org) objects to Google Maps Platform JS. The library provides a `ThreeJSOverlayView` class extending `google.maps.WebglOverlayView` and utility functions such as `latLngToMeters`, `latLngToVector3`, and `latLngToVector3Relative`, for converting latitude and longitude to vectors in the mercator coordinate space.
Add [three.js](https://threejs.org) objects to Google Maps Platform JS. The library provides a `ThreeJSOverlayView` class extending `google.maps.WebGLOverlayView` and utility functions such as `latLngToMeters`, `latLngToVector3`, and `latLngToVector3Relative`, for converting latitude and longitude to vectors in the mercator coordinate space.

> **Note**: Thils library requires the beta version of Google Maps Platform JavaScript.
> **Note**: This library requires the beta version of Google Maps Platform JavaScript.
>
## Install

Expand All @@ -23,7 +23,7 @@ Available via npm as the package [@googlemaps/three](https://www.npmjs.com/packa
npm i @googlemaps/three
```

Alternativly you may add the umd package directly to the html document using the unpkg link.
Alternatively you may add the umd package directly to the html document using the unpkg link.

```
<script src="https://unpkg.com/@googlemaps/three/dist/index.min.js"></script>
Expand Down
Loading

0 comments on commit b625762

Please sign in to comment.