Class: WmsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/wms_controller.rb

Instance Method Summary collapse

Instance Method Details

#handleObject



4
5
6
7
8
9
10
# File 'app/controllers/wms_controller.rb', line 4

def handle
  response = Geoblacklight::WmsLayer.new(wms_params).feature_info

  respond_to do |format|
    format.json { render json: response }
  end
end