Google Maps V3 fitBounds on visible markers

后端 未结 3 1337
深忆病人
深忆病人 2021-02-10 23:07

Finding it hard to get clear information on this but what I am trying to achieve is fitBounds on visible markers.

The Array defines the title, category, lat/long and hre

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-10 23:55

    enter code hereif(markers[marker_id].getMap() != null ) { document.getElementById('markerlar').innerHTML += '
    ' +marker_id+''+markers[marker_id].position+''; //markers[marker_id].setMap(null); }

提交回复
热议问题