GUI-graticule 0.2.7.5 → 0.2.7.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/graticule/geocoder/base.rb +4 -0
- data/lib/graticule/location.rb +4 -0
- data/lib/graticule/precision.rb +5 -5
- metadata +1 -1
data/lib/graticule/location.rb
CHANGED
data/lib/graticule/precision.rb
CHANGED
@@ -30,23 +30,23 @@ module Graticule
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def self.city
|
33
|
-
@@city ||= Precision.new(
|
33
|
+
@@city ||= Precision.new(4, "city")
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.zip
|
37
|
-
@@zip ||= Precision.new(
|
37
|
+
@@zip ||= Precision.new(5, "zip")
|
38
38
|
end
|
39
39
|
|
40
40
|
def self.street
|
41
|
-
@@street ||= Precision.new(
|
41
|
+
@@street ||= Precision.new(6, "street")
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.address
|
45
|
-
@@address ||= Precision.new(
|
45
|
+
@@address ||= Precision.new(8, "address")
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.premise
|
49
|
-
@@premise ||= Precision.new(
|
49
|
+
@@premise ||= Precision.new(9, "premise")
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|