Sha256: 582aecc5fd885789f040aa959727fea19c91e263029915445a5dd17087ea89d8

Contents?: true

Size: 565 Bytes

Versions: 11

Compression:

Stored size: 565 Bytes

Contents

# Here we redefine the map outline color using a helper and
# specify the heat map ranges using the handy dandy heat_range component...
<%= map :us%>

  # overrides background color and opacity to white/full
  <%=config :background_color %>
    color:   ffffff
    opacity: 100
   
  # overrides state outline with color from helper
  <%=config :outline_color %>
    color: <%= outline_color %>
    
  <%=config :heat_range %>
    base_color:   'f49329'
    min:          0
    max:          100
    step:         10
    color_step:   90
    color_method: darken_by

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed-ziya-2.1.0 examples/maps/public/maps/themes/default/us_map.yml
derailed-ziya-2.1.1 examples/maps/public/maps/themes/default/us_map.yml
derailed-ziya-2.1.2 examples/maps/public/maps/themes/default/us_map.yml
derailed-ziya-2.1.3 examples/maps/public/maps/themes/default/us_map.yml
derailed-ziya-2.1.4 examples/maps/public/maps/themes/default/us_map.yml
derailed-ziya-2.1.5 examples/maps/public/maps/themes/default/us_map.yml
ziya-2.3.0 examples/maps/public/maps/themes/default/us_map.yml
ziya-2.1.9 examples/maps/public/maps/themes/default/us_map.yml
ziya-2.1.8 examples/maps/public/maps/themes/default/us_map.yml
ziya-2.1.7 examples/maps/public/maps/themes/default/us_map.yml
ziya-2.1.6 examples/maps/public/maps/themes/default/us_map.yml