Problem/Motivation

On a Leaflet view page with Map Control - Geocoder activated, using the Geocoder Control Specific Options results in a JS error. Browser console output is: Uncaught TypeError: Drupal.Leaflet.query_url_serialize is not a function

In line 10 of leaflet.geocoder.js Drupal.Leaflet.query_url_serialize() is called. Looks to me like this should call Drupal.Leaflet.prototype.query_url_serialize() instead.

Comments

markusk created an issue. See original summary.

itamair’s picture

Status: Active » Fixed
StatusFileSize
new499 bytes

thanks a lot @markusk perfect catch.
The attached patch implements exactly your solution and fixes this.
Committing into dev, will be part of new incoming 10.0.2 release ...

  • itamair committed 6b4b598 on 10.0.x
    Issue #3326599 by itamair, markusk: Using Geocoder Control Specific...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.