Disclaimer: This is a experimental package, but you are more than welcome to open issues and pull requests in order to request new features.
googleMapView : String -> Html Msg
googleMapView googleMapKey =
Map.init googleMapKey
|> Map.toHtmlPlease, take a look at examples/src/Main.elm
npm install --save-dev @webcomponents/webcomponentsjs
npm install --save-dev https://github.com/PaackEng/google-map\#3.0
elm install PaackEng/elm-google-mapsYou have to import both items (the order matters)
Add those lines in index.js
import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter';
import '@google-web-components/google-map';Disclaimer: You must install create-elm-app
cd examples/ && ELM_APP_GOOGLE_MAP_KEY=your_key elm-app start