-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Target Use case
Currently there is a @deck.gl/google-maps module which allows the user to synchronize the Google basemap with deck.gl so that geo-referenced deck.gl layers float on top of Google maps.
The implementation uses the raster version of Google maps, which until recently was the only one available.
Recently, Google launched a beta version of WebGL enabled Vector Maps API, which aside from bringing an improvement from the perspective of the user, offer a much richer API for applications to integrate with
Proposed feature
Extend the google module so that the vector map is supported and the deck.gl overlay is displayed within the 3D google map.
Screen.Recording.2021-07-16.at.3.42.26.PM.mov
To Do List
- Switch base map to vector
- Migrate to new WebglOverlayView but still draw deck.gl in separate context
- Using Mapbox overlay as an reference, move the rendering of the deck.gl layers into the gl context of Google maps
- Use matrices from Google (view and projection) to correctly set projection with z-buffer matched
- Confirm tilt and rotation of camera works
- Handle mouse events (click, doubleclick, mouse move & mouse out)
- Support interleaving (e.g. between Google buildings and deck markers)
- Make sure animation triggered in Google maps works (deck.gl layers are also animated)
- Doc update
- What’s new update
- Documentation on general basemap integration (view/projection matrix synchronization)
- New examples
- Test
Reactions are currently unavailable

