File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 93
93
94
94
## Check if a marker is within Map, Rectangle, or Circle
95
95
96
- map.getBounds().contains(marker.getPosition()
96
+ ` map.getBounds().contains(marker.getPosition());`
97
97
98
98
* http://stackoverflow.com/questions/3648545/how-can-i-check-the-marker-is-or-isnt-in-the-bounds-using-google-maps-v3
99
99
* 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
112
112
You use getDirections() or directions, then calculate the distance from there. e.g.,
113
113
114
114
Distance:
115
- {{ map.directionsRenderers[ 0] .directions.routes[ 0] .legs[ 0] .distance}}
115
+ ` {{ map.directionsRenderers[0].directions.routes[0].legs[0].distance }} `
116
116
117
117
Directives
118
118
----------
You can’t perform that action at this time.
0 commit comments