2
マップ上のマーカーをポイントすることができ、ブラウザに表示されます。しかし、私が同じものを印刷すると、マーカーは地図上に見えません。助けてください。テイクプリントでマップマーカーをロードする
<button class="map-print" ng-click="mapprint();">print</button>
[enter image description here][1]<script>
function mapprint(){
var content = document.getElementById('map_div'); //has to be first.
content.style.position = "relative";
content.style.height = contents.firstChild.offsetHeight + "px";
content.style.width = contents.firstChild.offsetWidth + "px";
var win = window.open();
win.document.write(content.innerHTML);
win.print();
win.close();
}
私は、マップのプリントを得ました。しかし、マップマーカーに
をロードcanotこれは私のWebビュー
である。これは、GoogleマップのJavaScript APIによる印刷がサポートされていない、私の地図の印刷ビュー
[Googleマップマーカーの印刷方法](https://stackoverflow.com/questions/3730767/how-to-print-google-map-markers) –