diff --git a/example/example.html b/example/example.html
index 4db2d76..7feb3fd 100644
--- a/example/example.html
+++ b/example/example.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/lib/gchart/map.rb b/lib/gchart/map.rb
index 6b6de92..2b80ab7 100644
--- a/lib/gchart/map.rb
+++ b/lib/gchart/map.rb
@@ -8,13 +8,13 @@ class Map < GChart::Base
def initialize(*args, &block)
super(*args, &block)
# Set some sane defaults so that the only requirement is data
- @area = 'world' #default
- @background = 'dfdfff' #make it look like water
- @colors = ['ffffff','f8fcf8','006c00']
+ @area ||= 'world' #default
+ @background ||= 'dfdfff' #make it look like water
+ @colors ||= ['ffffff','f8fcf8','006c00']
#Set the maximum size for maps (this is a better default because
# it is also the proper aspect ratio)
- @width = '440'
- @height = '220'
+ @width ||= '440'
+ @height ||= '220'
end
# Map data can be in the form {"VA'=>5,'NY'=>1} or [['VA',5],['NY',1]]