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.43 app/components/satis/map/component.rb
satis-2.1.42 app/components/satis/map/component.rb
satis-2.1.41 app/components/satis/map/component.rb
satis-2.1.40 app/components/satis/map/component.rb
satis-2.1.39 app/components/satis/map/component.rb
satis-2.1.38 app/components/satis/map/component.rb
satis-2.1.37 app/components/satis/map/component.rb
satis-2.1.36 app/components/satis/map/component.rb
satis-2.1.35 app/components/satis/map/component.rb
satis-2.1.33 app/components/satis/map/component.rb
satis-2.1.31 app/components/satis/map/component.rb
satis-2.1.30 app/components/satis/map/component.rb
satis-2.1.29 app/components/satis/map/component.rb
satis-2.1.28 app/components/satis/map/component.rb
satis-2.1.27 app/components/satis/map/component.rb
satis-2.1.26 app/components/satis/map/component.rb
satis-2.1.24 app/components/satis/map/component.rb
satis-2.1.23 app/components/satis/map/component.rb
satis-2.1.22 app/components/satis/map/component.rb
satis-2.1.21 app/components/satis/map/component.rb