Skip to content

Instantly share code, notes, and snippets.

@jkeck
Created March 18, 2014 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeck/9631263 to your computer and use it in GitHub Desktop.
Save jkeck/9631263 to your computer and use it in GitHub Desktop.
def initialize(controller, response_docs)
@controller = controller
@response_docs = response_docs
end
def blacklight_maps_config
@controller.blacklight_config.view.maps
end
def type
blacklight_maps_config.type
end
def placename_coord_field
blacklight_maps_config.placename_coord_field
end
def placename_coord_delimiter
blacklight_maps_config.placename_coord_delimeter
end
def bbox_field
blacklight_maps_config.bbox_field
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment