Class: WmsController

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

Instance Method Summary collapse

Instance Method Details

#handleObject



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

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

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