The map disappears whenever I try to create an exposed filter. Anybody know what could be wrong?

CommentFileSizeAuthor
#4 2185103.patch531 bytesSteven Buteneers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

khasmir’s picture

Hello,

Happens to me as well.
I create a view with a leaflet map and put some exposed filters. If the selected criteria has a marker on the map works perfectly, but if I select a filter from which there is no marker on the map, the map disappears and if I change the filter doesn't return to the map until I click on reset.

Someone has any idea how to fix this?
Thank you.

hillmark’s picture

#1 sounds like the hide empty map option on format settings in the view may be set to true.

khasmir’s picture

#2 The option "hide empty map" on format settings in the view isn't check.

Steven Buteneers’s picture

FileSize
531 bytes

Applied patch renders the view even if it is empty, unless the hide_empty option is set.

Steven Buteneers’s picture

Status: Active » Needs review
michielnugter’s picture

Status: Needs review » Reviewed & tested by the community

Patch seems to fix the problem.

RdeBoer’s picture

Assigned: htalwala » RdeBoer
Status: Reviewed & tested by the community » Fixed

Checked in.

Status: Fixed » Closed (fixed)

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