jawj / OverlappingMarkerSpiderfier

Deals with overlapping markers in Google Maps JS API v3, Google Earth-style
http://blog.mackerron.com
836 stars 238 forks source link

Spiral is broken if 'place' object is present in marker option #172

Open ggets opened 3 years ago

ggets commented 3 years ago
          let marker = new google.maps.Marker({
            position: latlng,
            place: {
              placeId: data.address.place_id,
              location: latlng
            },
            optimized: ! isIE  // makes SVG icons work in IE
          });

image

Renders just fine if it's commented out, though:

          let marker = new google.maps.Marker({
            position: latlng,
            // place: {
            //   placeId: data.address.place_id,
            //   location: latlng
            // },
            optimized: ! isIE  // makes SVG icons work in IE
          });

image

brunokunace commented 11 months ago

@ggets you solved it? i have the same issue, but when i open the spider and get a zoom, all of my spider appear and dont disappear anymore