app/maps/application_map.rb
Class ApplicationMap
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class ApplicationMap
include MapLayers
include MapLayers::ViewHelpers
Method hover_control_display_name
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def hover_control_display_name(layer)
OpenLayers::Control::SelectFeature.new( layer, {
:autoActivate => true,
:hover => true,
:renderIntent => "temporary",