Show
Ignore:
Timestamp:
12/01/07 17:09:27 (5 years ago)
Author:
gyuque
Message:

/lang/ruby/RubyESRIShape: updated tokyo23 map generator

Location:
lang/ruby/RubyESRIShape/test/tokyo23
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/RubyESRIShape/test/tokyo23/jsonp_map.js

    r2202 r2236  
    55var JSONP_files = [ 
    66        "./tokyo-area.jsonp", 
    7         "./tokyo-label.jsonp" 
     7        "./tokyo-label.jsonp", 
     8        "./tokyo-bounds.jsonp" 
    89]; 
    910 
     
    198199                                        continue; 
    199200                                } 
     201                                else if (ShapeName == "tokyo-bounds") 
     202                                        this.g.fillStyle = "transparent"; 
    200203 
    201204                                this.unpack(dat[0], dat[1]  , p1); 
     
    290293        Params = new PageParams(); 
    291294 
    292         if (!Params.hasKey("xofs")) Params.params.xofs = 139.44; 
    293         if (!Params.hasKey("yofs"))     Params.params.yofs = 35.33; 
    294         if (!Params.hasKey("scale")) Params.params.scale = 1590; 
     295        if (!Params.hasKey("xofs")) Params.params.xofs = 139.5; 
     296        if (!Params.hasKey("yofs"))     Params.params.yofs = 35.5; 
     297        if (!Params.hasKey("scale")) Params.params.scale = 2200; 
    295298 
    296299        tX.ofs   = Params.asNum("xofs"); 
  • lang/ruby/RubyESRIShape/test/tokyo23/tokyo-label.jsonp

    r2202 r2236  
    11add_shape_data("tokyo-label", "point", [ 
    2  {"x": 139.689552307129, "y": 35.6322002410889, "name": "目黒区"}, 
     2 {"x": 139.695, "y": 35.6322002410889, "name": "目黒区"}, 
    33 {"x": 139.73, "y": 35.6154818534851, "name": "品川区"}, 
    44 {"x": 139.786102294922, "y": 35.7130317687988, "name": "台東区"},