Module: Workbench::MapShape

Defined in:
app/helpers/workbench/map_shape.rb

Instance Method Summary collapse

Instance Method Details

#map_shape(params) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/workbench/map_shape.rb', line 2

def map_shape(params)
  (:div, '', data: { 
    'map-shape' => true,
    'geojson-object' => params[:geojson_object], 
    'geojson-string' => params[:geojson_string], 
  })
end