am using angular google map with the following view
<map map-type-id="ROADMAP" zoom="15" on-click="placeMarker()" >
<marker position="0,0" on-click="toggleBounce()" icon="img/target.png" animation="DROP" draggable="true"></marker>
</map>
i set the map-type-id to ROADMAP and its work, but i cant remove the streetViewControl from the map even if i add streetViewControl=“false”
nothing happen … any idea why ?
You are not saying how you are using streetViewControl
or what directive so I will assume you did the following using this directive:
<map map-type-id="ROADMAP" zoom="15" on-click="placeMarker()" >
<marker position="0,0" on-click="toggleBounce()" icon="img/target.png" animation="DROP" draggable="true" streetViewControl="false"></marker>
</map>
I found on its docs (~1min) the attribute and that is street-view-control
.
<map map-type-id="ROADMAP" zoom="15" on-click="placeMarker()" >
<marker position="0,0" on-click="toggleBounce()" icon="img/target.png" animation="DROP" draggable="true" street-view-control="false"></marker>
</map>