- rat= Math.cos( ((max_lat + min_lat)/2.0) / 180.0 * 3.141592)
- proj = OSM::Mercator.new((min_lat + max_lat) / 2, (max_lon + min_lon) / 2, (max_lat - min_lat) / width / rat, width, height)
+ proj = OSM::Mercator.new(min_lat, min_lon, max_lat, max_lon, width, height)
+
+ linegc = Magick::Draw.new
+ linegc.stroke_linejoin('miter')
+ linegc.stroke_width(1)
+ linegc.stroke('#BBBBBB')
+ linegc.fill('#BBBBBB')
+
+ highlightgc = Magick::Draw.new
+ highlightgc.stroke_linejoin('miter')
+ highlightgc.stroke_width(3)
+ highlightgc.stroke('#000000')
+ highlightgc.fill('#000000')