Class: WmsController

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

Instance Method Summary collapse

Instance Method Details

#handleObject


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

def handle
  response = Geoblacklight::WmsLayer.new(params).get_feature_info

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