Sha256: bb87b65d3e834e810e7c21463e30a6afc54cd1fed39179b50686ec69ace26b52

Contents?: true

Size: 443 Bytes

Versions: 43

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

module Satis
  module Map
    class Component < Satis::ApplicationComponent
      attr_reader :latitude, :longitude, :zoom_level, :geo_json_url

      def initialize(latitude: 52.09083, longitude: 5.12222, zoom_level: 7, geo_json_url: nil)
        super
        @latitude = latitude
        @longitude = longitude
        @zoom_level = zoom_level
        @geo_json_url = geo_json_url
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
satis-2.1.20 app/components/satis/map/component.rb
satis-2.1.19 app/components/satis/map/component.rb
satis-2.1.18 app/components/satis/map/component.rb
satis-2.1.11 app/components/satis/map/component.rb
satis-2.1.10 app/components/satis/map/component.rb
satis-2.1.9 app/components/satis/map/component.rb
satis-2.1.8 app/components/satis/map/component.rb
satis-2.1.6 app/components/satis/map/component.rb
satis-2.1.5 app/components/satis/map/component.rb
satis-2.1.4 app/components/satis/map/component.rb
satis-2.1.3 app/components/satis/map/component.rb
satis-2.1.1 app/components/satis/map/component.rb
satis-2.1.0 app/components/satis/map/component.rb
satis-2.0.9 app/components/satis/map/component.rb
satis-2.0.8 app/components/satis/map/component.rb
satis-2.0.7 app/components/satis/map/component.rb
satis-1.0.75 app/components/satis/map/component.rb
satis-1.0.74 app/components/satis/map/component.rb
satis-1.0.70 app/components/satis/map/component.rb
satis-1.0.69 app/components/satis/map/component.rb