Sha256: 343f6e2c9afa2716752c2e25a11a71500adc2cf1da2ff775d29e7233ddf8c027
Contents?: true
Size: 492 Bytes
Versions: 2
Compression:
Stored size: 492 Bytes
Contents
module MapKit class MapType def self.mkmap_to_rmap(map_type) case map_type when MKMapTypeStandard :standard when MKMapTypeSatellite :satellite when MKMapTypeHybrid :hybrid end end def self.rmap_to_mkmap(map_type) case map_type when :standard MKMapTypeStandard when :satellite MKMapTypeSatellite when :hybrid MKMapTypeHybrid end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
map-kit-wrapper-0.0.2 | lib/map-kit-wrapper/map_type.rb |
map-kit-wrapper-0.0.1 | motion/map_type.rb |