Skip to content

Commit 340e0dd

Browse files
committed
fixed README
1 parent 58008db commit 340e0dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Ref.
9393

9494
## Check if a marker is within Map, Rectangle, or Circle
9595

96-
map.getBounds().contains(marker.getPosition()
96+
`map.getBounds().contains(marker.getPosition());`
9797

9898
* http://stackoverflow.com/questions/3648545/how-can-i-check-the-marker-is-or-isnt-in-the-bounds-using-google-maps-v3
9999
* https://developers.google.com/maps/documentation/javascript/3.exp/reference#Map
@@ -112,7 +112,7 @@ https://developers.google.com/maps/documentation/javascript/reference?hl=en#Dire
112112
You use getDirections() or directions, then calculate the distance from there. e.g.,
113113

114114
Distance:
115-
{{map.directionsRenderers[0].directions.routes[0].legs[0].distance}}
115+
`{{ map.directionsRenderers[0].directions.routes[0].legs[0].distance }}`
116116

117117
Directives
118118
----------

0 commit comments

Comments
 (0)