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 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
112112You 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
117117Directives
118118----------
You can’t perform that action at this time.
0 commit comments