When clicking Find address the following error occurs

ReferenceError: marker_icon is not defined

Module now assumes that the marker is set breaking current functionality.

Blame: https://git.drupalcode.org/project/google_map_field/-/blame/8.x-1.x/js/g...

Browsers confirmed:

  • Chrome 83.0.4103.61
  • Firefox 77.0.1

OS: MacOS

Comments

VladimirAus created an issue. See original summary.

jannakha’s picture

StatusFileSize
new2.75 KB

Fixed error by checking if icon is not null.

JavaScript is a bit outdated and requires at least 'use strict'; to minimise further issues.

jannakha’s picture

Status: Active » Needs review

  • scot.hubbard committed e260a17 on 8.x-1.x authored by jannakha
    Issue #3150077 by jannakha: ReferenceError: marker_icon is not defined
    
scot.hubbard’s picture

Status: Needs review » Fixed

Fixed in latest dev release.

scot.hubbard’s picture

Status: Fixed » Closed (fixed)

Fixed in 8.x-1.10