Disappearing markers when choosing custom markertype.

Created on 26 March 2013, about 12 years ago
Updated 20 March 2025, about 1 month ago

When I choose a different markerstyle in views, all my markers on the map disappear.

Javascript gives the following error:
TypeError: this.gicons[setname] is undefined in the function Drupal.gmap.getShadow.

When I change the function from
if (this.gshadows) return this.gshadows[setname][sequence % this.gicons[setname].length];
to
if (this.gshadows && this.gicons[setname]) return this.gshadows[setname][sequence % this.gicons[setname].length];
it starts working again.

🐛 Bug report
Status

Needs work

Version

2.8

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024