How to disable infowindow from registered places from map?

后端 未结 4 1206
不知归路
不知归路 2020-12-20 02:37

Hi am new to google maps. I have used gmaps jquery plugin for displaying map. In that i have my own markers and polylines for some locations,and displaying the infowindow wh

4条回答
  •  别那么骄傲
    2020-12-20 03:08

    var stylesArray = [
      {
        featureType: '',
        elementType: '',
        stylers: [
          {hue: ''},
          {saturation: ''},
          {lightness: ''},
          // etc...
        ]
      },
      {
        featureType: '',
        // etc...
      }
    ]
    

    you can change its features like hide the feature completely as below

    stylers: [
      { visibility: "off" }
    ]
    

    you can refer link about the poi as below if you are using the version3

    https://developers.google.com/maps/documentation/javascript/styling

    hope this helps :D

提交回复
热议问题