Closed (duplicate)
Project:
Geofield
Version:
7.x-1.1
Component:
GeoField Map
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2012 at 21:01 UTC
Updated:
25 Jul 2013 at 20:18 UTC
Jump to comment: Most recent
Comments
Comment #1
kingandySeconded! This seems like a bit of an oversight...
Comment #2
kvit commentedI have similar issue.
Using geofield map in a view. And can do nothing to hide this empty map if the view gives no results.
Comment #3
stevebab commentedAlso helpful would be the option to show a full map with all results--for example, I have a dealer locator map for US companies. If I perform a proximity search and get no result, it would be nice to show our whole map of the US with all locations as pins, then display no results text beneath that.
Comment #4
stevebab commentedChanging to a bug report, as this seems more like a bug than a feature.
Comment #5
barwonhack commentedYep. Would appreciate this option when used as a field display (for addressfield) too.
EG: When an address is supplied as a Post Office Box it doesn't successfully geocode a point, therefore the map rendering is not required.
Comment #6
Anonymous (not verified) commentedI need a solution too.
In my case the best solution would be to set a default position (lat, lon) if there are no results.
Comment #7
el1_1el commentedNot sure why there are 2 of these - https://drupal.org/node/1733864 - but that one has a patch that allows a default position.
I re-rolled that patch to add the option of not rendering the map and displaying the view's No results behavior. marking this as duplicate.