In this section https://developers.google.com/codelabs/maps-platform/webgl#3, it has a mistake showing the function initWebGLOverlayView(map) but it's WebglOverlayView() and inside this function webglOverlayView.onContextRestored = ({gl}) => {} and webglOverlayView.onDraw = ({gl, coordinateTransformer}) => {}, the parameters are without curly parentheses.
In this section https://developers.google.com/codelabs/maps-platform/webgl#3, it has a mistake showing the function initWebGLOverlayView(map) but it's WebglOverlayView() and inside this function
webglOverlayView.onContextRestored = ({gl}) => {}
andwebglOverlayView.onDraw = ({gl, coordinateTransformer}) => {}
, the parameters are without curly parentheses.And here: https://developers.google.com/codelabs/maps-platform/webgl#5 , you use the parameter
transformer
, but in the rest of the documentation and sample code usecoordinateTransformer
.