(mapCanvasProjection, offset, props)
| 87 | } |
| 88 | |
| 89 | function getLayoutStyles(mapCanvasProjection, offset, props) { |
| 90 | if (props.bounds) { |
| 91 | var bounds = ensureOfType( |
| 92 | props.bounds, |
| 93 | google.maps.LatLngBounds, |
| 94 | createLatLngBounds |
| 95 | ) |
| 96 | return getLayoutStylesByBounds(mapCanvasProjection, offset, bounds) |
| 97 | } else { |
| 98 | var position = ensureOfType( |
| 99 | props.position, |
| 100 | google.maps.LatLng, |
| 101 | createLatLng |
| 102 | ) |
| 103 | return getLayoutStylesByPosition(mapCanvasProjection, offset, position) |
| 104 | } |
| 105 | } |
nothing calls this directly
no test coverage detected