Sha256: 0ce6661a593eee88c541bee87a210139b8d5cbc5f38b783e8e6d91de1eff0491
Contents?: true
Size: 338 Bytes
Versions: 20
Compression:
Stored size: 338 Bytes
Contents
class WmsController < ApplicationController def handle response = Geoblacklight::WmsLayer.new(wms_params).feature_info respond_to do |format| format.json { render json: response } end end private def wms_params params.permit('URL', 'LAYERS', 'BBOX', 'WIDTH', 'HEIGHT', 'QUERY_LAYERS', 'X', 'Y') end end
Version data entries
20 entries across 20 versions & 1 rubygems