module GeoConcerns module BoundingBoxHelper ## # Builds HTML string for bounding box selector tool. # Calls boundingBoxSelector javascript function and # passes the id of the location input element that it binds to. # @param [Symbol] name of property that holds bounding box string # @return[String] def bbox(property) markup = '' markup << %(
) markup << bbox_display_inputs markup << bbox_script_tag(property) markup.html_safe end ## # Returns markup for a row of read only bounding box inputs. # @return[String] # rubocop:disable MethodLength def bbox_display_inputs %(