Skip to content

Commit d9a9ee9

Browse files
committed
Documen traffic layer
1 parent 87a6035 commit d9a9ee9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Fable.ReactGoogleMaps/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ and in your F# code you can create the map like this:
3232
MapProperties.DefaultCenter defaultCenter
3333
MapProperties.Center defaultCenter ]
3434

35+
## Traffic Layer
36+
37+
Google Maps allows you to activate the traffic layer. The map component has a simple property for that:
38+
39+
let myMap =
40+
googleMap [
41+
MapProperties.ApiKey googleMapApiKey
42+
// ..
43+
MapProperties.ShowTrafficLayer true ]
44+
3545
## Markers
3646

3747
If you want to show markers on the map then you can create them like this:

0 commit comments

Comments
 (0)