How can set a Google Maps div container size equal to md-card-content width?
I have the following code but it doesn't work.
<style> #map { width: 100%; height: 100%; } </style>
<md-card flex>
<md-card-content>
<div layout="column">
<md-input-container flex="100">
<!-- ... -->
<div id="map"></div>
</div>
</md-card-content>
</md-card>
I try these solutions (link, link) but it doesn't work for me. I also tried What I'd want get is like this: