{"id":2601,"date":"2012-01-15T21:40:39","date_gmt":"2012-01-15T12:40:39","guid":{"rendered":"https:\/\/y2tech.net\/blog\/?p=2601"},"modified":"2012-06-26T16:03:16","modified_gmt":"2012-06-26T07:03:16","slug":"cj_web_map_on_openlayers","status":"publish","type":"post","link":"https:\/\/y2tech.net\/blog\/inet\/web\/cj_web_map_on_openlayers-2601\/","title":{"rendered":"OpenLayers\u3067\u96fb\u5b50\u56fd\u571f\u30de\u30c3\u30d7\u3092\u8868\u793a\u3057\u3066\u307f\u308b"},"content":{"rendered":"<h3>OpenLayers\u3092\u7528\u3044\u3066\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u3092\u8868\u793a\u3057\u3066\u307f\u308b<\/h3>\r\n<br>\r\n<p>\u96fb\u5b50\u56fd\u571f\u30b7\u30b9\u30c6\u30e0V3\u306e\u5730\u56f3\u8868\u793a\u90e8\u5206\u306e\u57fa\u672c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u3001OpenLayers 2.10 \u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u306e\u80cc\u666f\u5730\u56f3\u306e\u5f62\u5f0f\u304c\u300e\u5730\u7403\u3092\u771f\u7403\u3068\u307f\u306a\u3057\u305f\u64ec\u4f3c\u5186\u7b52\u56f3\u6cd5\u300f\u3068\u3044\u3046\u7def\u5ea6\u306b\u3088\u308a\u7e26\u65b9\u5411\u306e\u89e3\u50cf\u5ea6\u304c\u7570\u306a\u308b\u3068\u3044\u3046\u7279\u6b8a\u306a\u65b9\u5f0f\u306e\u305f\u3081\u3001\u6a19\u6e96\u7684\u306a\u6b63\u65b9\u30e1\u30eb\u30ab\u30c8\u30eb\u30bf\u30a4\u30ea\u30f3\u30b0\u3092\u7528\u3044\u305fGIS\u30b7\u30b9\u30c6\u30e0\u3068\u306f\u3068\u3066\u3082\u76f8\u6027\u304c\u60aa\u3044\u3068\u8a00\u308f\u3056\u308b\u8ca0\u3048\u306a\u3044\u3067\u3057\u3087\u3046\uff0e<\/p>\r\n<br>\r\n<p>OpenLayers\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7d10\u89e3\u304d\u306a\u304c\u3089\u3001\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u306e\u80cc\u666f\u5730\u56f3\u3092OpenLayers\u4e0a\u306b\u53d6\u308a\u8fbc\u3080\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4e00\u304b\u3089\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u3042\u307e\u308a\u306e\u9762\u5012\u304f\u3055\u3055\u306b\u9014\u4e2d\u3067\u653e\u308a\u6295\u3052\u305f\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\u80cc\u666f\u5730\u56f3\u306e\u7def\u5ea6\uff08\u7e26\uff09\u65b9\u5411\u306e\u89e3\u50cf\u5ea6\u304c\u7def\u5ea6\u306b\u3088\u3063\u3066\u5909\u5316\u3059\u308b\u305f\u3081\u3001\u56fa\u5b9a\u30b5\u30a4\u30ba\uff08\u30d4\u30af\u30bb\u30eb\u6570\uff09\u306e\u5730\u56f3\u30d5\u30ec\u30fc\u30e0\u306b\u8868\u793a\u3067\u304d\u308b\u7def\u5ea6\u30fb\u7d4c\u5ea6\u306e\u7bc4\u56f2\u304c\u4e00\u5b9a\u306b\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u56f0\u3063\u305f\u554f\u984c\u304c\u3064\u304d\u307e\u3068\u3044\u307e\u3059\uff0e<\/p>\r\n<br>\r\n<p>\u4f8b\u3048\u3070\u65e5\u672c\u5217\u5cf6\u306e\u5317\u7aef\u306e\u5b97\u8c37\u5cac\u4ed8\u8fd1\u306e\u7def\u5ea6\u306f\u7d0445\u5ea6\u3067\u3001\u80cc\u666f\u5730\u56f3\u306e\u7e26\u65b9\u5411\u306e\u30d4\u30af\u30bb\u30eb\u6570\u306f\u7d04428\u30d4\u30af\u30bb\u30eb\u3068\u306a\u3063\u3066\u3044\u308b\uff0e\u4e00\u65b9\u3001\u5357\u7aef\u306e\u6ce2\u7167\u9593\u5cf6\u4ed8\u8fd1\u306e\u7def\u5ea6\u306f\u7d0424\u5ea6\u3067\u3001\u7e26\u65b9\u5411\u306e\u30d4\u30af\u30bb\u30eb\u6570\u306f328\u30d4\u30af\u30bb\u30eb\u3067\u3042\u308b\uff0e640 x 480 \u30d4\u30af\u30bb\u30eb\u306e\u5730\u56f3\u30d5\u30ec\u30fc\u30e0\u306b\u300160\u79d2\uff081\u5206\uff09\u30b5\u30a4\u30ba\u306e\u80cc\u666f\u5730\u56f3\u3092\u914d\u7f6e\u3059\u308b\u5834\u5408\u3001\u7d4c\u5ea6\uff08\u6a2a\uff09\u65b9\u5411\u306e\u8868\u793a\u53ef\u80fd\u7bc4\u56f2\uff08\u5ea6\u6570\uff09\u306f\u3001640 \/ 300 * 60\/3600 = 0.035555 \u3068\u4e00\u5b9a\u3067\u3059\u304c\u3001\u7def\u5ea6\uff08\u7e26\uff09\u65b9\u5411\u306f\u3001\r\n<br>\r\n<br>\r\n<p>\u5b97\u8c37\u5cac\u4ed8\u8fd1\uff1a\u3000\u3000480 \/ 428 * 60\/3600 = 0.0186915 [\u5ea6]\u3000\u3000\u89e3\u50cf\u5ea6 0.00004367 [\u5ea6\/\u30d4\u30af\u30bb\u30eb]\u3000\r\n<br>\r\n<p>\u6ce2\u7167\u9593\u5cf6\u4ed8\u8fd1\uff1a\u3000480 \/ 328 * 60\/3600 = 0.0243902 [\u5ea6]\u3000\u3000\u89e3\u50cf\u5ea6 0.00007436 [\u5ea6\/\u30d4\u30af\u30bb\u30eb]\r\n<\/p>\r\n<br>\r\n<p>\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u540c\u3058\u7a2e\u985e\u306e\u5730\u56f3\u3067\u3042\u308a\u306a\u304c\u3089\u3001\u5317\u3068\u5357\u3067\u306f\u7def\u5ea6\u65b9\u5411\u306e\u89e3\u50cf\u5ea6\uff3b\u5ea6\/\u30d4\u30af\u30bb\u30eb\uff3d\u304c\u5927\u304d\u304f\u7570\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e \r\n<br>\r\n\u30d4\u30af\u30bb\u30eb\u30d9\u30fc\u30b9\uff08\u30e9\u30b9\u30bf\u30fc\u30a4\u30e1\u30fc\u30b8\uff09\u306e\u5730\u56f3\u3067\u306f\u3001\u753b\u7d20\u6570\u3068\u5ea7\u6a19\u7cfb\u306e\u95a2\u4fc2\u304c\u30ea\u30cb\u30a2\u30fc\uff08\u7dda\u5f62\uff09\u3067\u306a\u3051\u308c\u3070\u3068\u3066\u3082\u9762\u5012\u306a\u4e8b\u306b\u306a\u308a\u307e\u3059\uff0eOpenLayers\u3082\u57fa\u672c\u7684\u306b\u753b\u7d20\u6570\u3068\u5ea7\u6a19\u7cfb\u306e\u95a2\u4fc2\u304c\u30ea\u30cb\u30a2\u30fc\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u306b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u30ce\u30f3\u30ea\u30cb\u30a2\u30fc\u306a\u51e6\u7406\u3092\u884c\u304a\u3046\u3068\u3059\u308b\u3068\u3068\u3066\u3082\u7169\u96d1\u306a\u51e6\u7406\u3092\u81ea\u5206\u3067\u7d44\u307f\u8fbc\u307e\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u304f\u306a\u308a\u307e\u3059\uff0e<\/p>\r\n<br>\r\n<p>OpenLayers\u306b\u306f Layer \u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u30af\u30e9\u30b9\u304c\u3042\u308a\u3001\u305d\u306e\u30b5\u30d6\u30af\u30e9\u30b9\u3068\u3057\u3066Grid\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\u3053\u306e\u30af\u30e9\u30b9\u306f\u30bf\u30a4\u30ea\u30f3\u30b0\u3055\u308c\u305f\u5730\u56f3\u3092\u6271\u3046\u969b\u306e\u57fa\u672c\u3068\u306a\u308b\u30af\u30e9\u30b9\u3067\u3001WMS\u30b5\u30fc\u30d0\u3067\u914d\u4fe1\u3055\u308c\u3066\u3044\u308b\u5730\u56f3\u30c7\u30fc\u30bf\u3092\u6271\u3046\u30b5\u30d6\u30af\u30e9\u30b9 WMS\u30af\u30e9\u30b9\u3082\u3053\u306eGrid\u30af\u30e9\u30b9\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u3044\u307e\u3059\uff0e<\/p>\r\n<br>\r\n<p>OpenLayers \u3067\u306e Layer \u30af\u30e9\u30b9\u306e\u7d99\u627f\u95a2\u4fc2\u306f\u6b21\u306e\u69d8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e<\/p>\r\n<br>\r\n<p><b>Layer \u2192  HTTPRequest \u2192\u3000Grid \u2192 WMS <\/b>\r\n<br>\r\n\u5f53\u521d\u306f\u3053\u308c\u3089\u306e\u30b5\u30d6\u30af\u30e9\u30b9\u306e\u5185\u3001Grid\u30af\u30e9\u30b9\u3060\u3051\u3092\u81ea\u524d\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3059\u308b\u7a0b\u5ea6\u3067\u3001\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u306e\u80cc\u666f\u5730\u56f3\u3092\u53d6\u308a\u8fbc\u3081\u308b\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u7def\u5ea6\uff08\u7e26\uff09\u65b9\u5411\u306e\u89e3\u50cf\u5ea6\u304c\u53ef\u5909\u306e\u5834\u5408\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306e\u306f\u601d\u3063\u305f\u4ee5\u4e0a\u306b\u56f0\u96e3\u3067\u3057\u305f\uff0e\u65e2\u5b58\u306e\u30af\u30e9\u30b9\u306e\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3088\u308a\u3082\u4e00\u304b\u3089\u30af\u30e9\u30b9\u306e\u8a2d\u8a08\u3092\u3084\u308a\u76f4\u3057\u305f\u65b9\u304c\u3059\u3093\u306a\u308a\u5b9f\u88c5\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e<\/p>\r\n<br>\r\n<p>\u96fb\u5b50\u56fd\u571fV3\u306eOpenLayers\u5efb\u308a\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u3066\u3082\u76f8\u5f53\u9762\u5012\u3067\u8907\u96d1\u306a\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\uff0e\u3068\u308a\u3042\u3048\u305a\u4eca\u56de\u306f\u81ea\u524d\u3067\u4e00\u304b\u3089\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u308b\u6687\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u96fb\u5b50\u56fd\u571fV3\u30b7\u30b9\u30c6\u30e0\u306eOpenLayers\u5efb\u308a\u306e\u30b3\u30fc\u30c9\u3092\u30d9\u30fc\u30b9\u306b\u3001\u96fb\u5b50\u56fd\u571f\u306eAPI\u3092\u4f7f\u308f\u305a\u306bOpenLayers\u30ec\u30d9\u30eb\u3067\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u306e\u80cc\u666f\u5730\u56f3\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\r\n<br>\r<\/p>\r\n<hr \/>\r\n<div style=\"width: 682px; margin: 0 auto; text-align: center;\">\r\n<h4> \u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3 \u3092OpenLayers\u306e\u80cc\u666f\u5730\u56f3\u3068\u3057\u3066\u53d6\u308a\u8fbc\u3093\u3060\u4f8b<\/h4>\r\n<br>\r\n<span>\u56fd\u571f\u5730\u7406\u9662\u3078\u306e\u627f\u8a8d\u7533\u8acb\u304c\u5fc5\u8981\u306a\u305f\u3081\u5b9f\u7269\u3092\u3053\u3053\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\uff0e<\/span>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/Fuji.png\" alt=\"Mt. Fuji Kengamine\" title=\"Mt. Fuji Kengamine\" width=\"320\" height=\"241\" class=\"size-full wp-image-2747\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/Fuji.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/Fuji-160x120.png 160w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/Fuji-300x225.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/>\r\n<br>\r\n<span>\u300c\u3053\u306e\u80cc\u666f\u5730\u56f3\u7b49\u30c7\u30fc\u30bf\u306f\u3001\u56fd\u571f\u5730\u7406\u9662\u306e\u96fb\u5b50\u56fd\u571fWeb\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u63d0\u4f9b\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u300d<\/span>\r\n<\/div>\r\n<br>\r\n[sourcecode language=&#8221;Javascript&#8221;]\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot; xml:lang=&quot;ja&quot; lang=&quot;ja&quot;&gt;\r\n&lt;head&gt;\r\n\t&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text\/html; charset=utf-8&quot; \/&gt;\r\n\t&lt;title&gt;Cyber Japan Map Test [ OpenLayers: Layer.Grid ]&lt;\/title&gt;\r\n\r\n\t&lt;script src=&quot;.\/OpenLayers-2.10\/OpenLayers.js&quot;&gt;&lt;\/script&gt;\r\n\t&lt;script src=&quot;.\/CJMap.js&quot;&gt;&lt;\/script&gt;\r\n\t&lt;script src=&quot;.\/CJGrid.js&quot;&gt;&lt;\/script&gt;\r\n\t&lt;script src=&quot;.\/CJCrosshairs.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script type=&quot;text\/javascript&quot;&gt;\r\n\twindow.onload = init;\r\n\tvar layer; \r\n\tvar name = &#8216;CJ 25K Map Base Layer&#8217;;\r\n\tfunction init() {\r\n\t\tvar map = new CJMap(&#8216;cjmap&#8217;);\r\n\t\t\r\n\t\t\/\/ Kengamine, Mt Fuji\r\n\t\tvar mapCenterLonLat = new OpenLayers.LonLat( 138.7273611, 35.36064 );\r\n\t\t\r\n\t\tbaseMapLayer = new CJGrid( name );\r\n\t\tmap.addLayer( baseMapLayer );\r\n\t\tmap.setCenter( mapCenterLonLat, 10 ); \r\n\r\n\t\tvar mapCenterPosition = \r\n\t\t\tnew OpenLayers.Pixel( map.getCurrentSize().w \/ 2, \r\n\t\t\t\t\t\t\t\t  map.getCurrentSize().h \/ 2 );\r\n\t\t\r\n\t\tvar crosshairsCursorCtrl = new OpenLayers.Control.Crosshairs({\r\n\t\t\t\t\timgUrl:  &quot;.\/crosshairs.png&quot;,\r\n\t\t\t\t\tsize: new OpenLayers.Size(32, 32),\r\n\t\t\t\t\tposition: mapCenterPosition\r\n\t\t\t\t});\r\n\t\tmap.addControl( crosshairsCursorCtrl ); \r\n\r\n\t\t\/\/var scaleCtrl = new OpenLayers.Control.Scale;\r\n\t\t\/\/map.addControl( scaleCtrl ); \r\n\t};\r\n\r\n&lt;\/script&gt;\r\n&lt;style&gt;\r\n#cjmap {\r\n\twidth: 800px;\r\n\theight:600px; \r\n\tborder: 1px solid #888;\r\n}\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body style=&quot;margin: 0;&quot;&gt;\r\n&lt;div id=&quot;cjmap&quot;&gt;&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n[\/sourcecode]\r\n<br>\r\nCJMap\u30af\u30e9\u30b9\u306f OpenLayers\u306e\u57fa\u672c\u30af\u30e9\u30b9 &#8220;Map&#8221; \u306e\u6d3e\u751f\u30af\u30e9\u30b9\u3067\u3001\u30d9\u30fc\u30b9\u3068\u306a\u308b\u30b3\u30fc\u30c9\u306f &#8220;sys\/v3\/webtis\/Map.js&#8221; \u3067\u3059\uff0e<\/p>\r\n<br>\r\n<p>CJGrid\u30af\u30e9\u30b9\u306fOpenLayers\u306e\u57fa\u672c\u30af\u30e9\u30b9 &#8220;Grid&#8221; \u306e\u6d3e\u751f\u30af\u30e9\u30b9\u3067\u3001\u30d9\u30fc\u30b9\u3068\u306a\u308b\u30b3\u30fc\u30c9\u306f &#8220;sys\/v3\/webtis\/Layer\/BaseMap.js&#8221; \u3067\u3059\uff0e\r\n<br>\r\n CrossHairsCursor \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f &#8220;sys\/v3\/webtis\/Control\/Crosshairs.js&#8221; \u3067\u3059\uff0e\r\n<br>\r\n<p>\r\n\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3053\u306e\uff13\u3064\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u306b\u5c11\u3057\u624b\u3092\u52a0\u3048\u305f\u3082\u306e\u3092\u4f7f\u3063\u3066\u8868\u793a\u3057\u3066\u3044\u307e\u3059\uff0e\u5358\u7d14\u306b\u80cc\u666f\u5730\u56f3\u3060\u3051\u3092\u30d9\u30fc\u30b9\u30ec\u30a4\u30e4\u30fc\u306b\u8868\u793a\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306b\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u3067\u8868\u793a\u53ef\u80fd\u3067\u3059\uff0e<\/p>\r\n<br>\r\n<p>\u5f8c\u306f\u3001\u91cd\u306d\u5408\u308f\u305b\u306e\u30ec\u30a4\u30e4\u30fc\u3084\u5404\u7a2e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4ed8\u3051\u52a0\u3048\u308b\u3053\u3068\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u3051\u3070\u826f\u3044\u3067\u3057\u3087\u3046\uff0e\r\n<br>\r\n<p>\r\n\u3010\u4fee\u6b63\u5185\u5bb9\u3011\r\n<br>\r\n\u30fb\u3000&#8221;sys\/v3\/webtis\/Map.js&#8221;\u3000\u306e\u30af\u30e9\u30b9\u540d\u3092\u9069\u5f53\u306a\u540d\u524d\u306b\u5909\u66f4\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>Line #1:   webtis.Map = OpenLayers.Class(OpenLayers.Map, { \r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000CJMap = OpenLayers.Class(OpenLayers.Map, { \r\n\r\n<br>\r\n<p>\u3000Line #105:   CLASS_NAME: &#8220;webtis.Map&#8221;\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000CLASS_NAME: &#8220;CJMap&#8221; \r\n<\/p>\r\n<br>\r\n<p>\u30fb\u3000&#8221;sys\/v3\/webtis\/Layer\/BaseMap.js&#8221;\u3000\u306e\u30af\u30e9\u30b9\u540d\u304a\u3088\u3073 \u95a2\u6570&#8221;webtis.Layer.DynamicResolution&#8221; \u306e\u540d\u524d\u3092\u5909\u66f4\u3059\u308b\uff0e\r\n\r\n<br>\r\n<p>\u3000Line #1:   webtis.Layer.DynamicResolution = function (dirx, diry, map, baseLayer) { \r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000 dynamicResolution = function (dirx, diry, map, baseLayer) { \u3000\u3000\u3000\r\n<br>\r\n<br>\r\n<p>Line #693, #701:  resolution = new webtis.Layer.DynamicResolution(\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u3000\u3000\u3000\u3000resolution = new dynamicResolution( \r\n \u3000\u3000\u3000\u3000\u3000\r\n\r\n<br>\r\n<p>\u3000Line #29:  webtis.Layer.BaseMap = OpenLayers.Class(OpenLayers.Layer.Grid, {\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000           CJLayerGrid = OpenLayers.Class(OpenLayers.Layer.Grid, {\r\n<br>\r\n\r\n<br>\r\n<p>\u3000Line #1129   CLASS_NAME: &#8220;webtis.Layer.BaseMap&#8221;\r\n<br>\r\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\r\n<br>\r\n<p>\u3000              CLASS_NAME: &#8220;CJLayerGrid&#8221;\r\n<br>\r\n\r\n<hr \/>\r\n<h3>\u304a\u307e\u3051\uff1aiPhone\u306eUIWebView\u4e0a\u3067OpenLayers\u3092\u4f7f\u3063\u3066\u307f\u305f<\/h3>\r\n<br>\r\n<p>\u96fb\u5b50\u56fd\u571f\u306e\u80cc\u666f\u5730\u56f3\u306bOpenLayers\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u901a\u3058\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001iPhone\u306eUIWebView\u4e0a\u3067\u4e0a\u8a18\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u8a73\u3057\u3044\u624b\u9806\u3084\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u300eiPhone\u3067GPS\u30ca\u30d3\u300f\u306e\u8a18\u4e8b\u306e\u4e2d\u3067\u8aac\u660e\u3059\u308b\u4e88\u5b9a\u3067\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305aiPhone\u4e0a\u3067\u52d5\u304b\u3059\u3068\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3068\u3044\u3046\u3053\u3068\u3067\uff0e\uff0e\uff0e\r\n \r\n OpenLayers\u3092UIWebView\u4e0a\u3067\u4f7f\u7528\u3059\u308b\u3068\u4f55\u6545\u304b\u5730\u56f3\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u304c\u3067\u304d\u307e\u305b\u3093\uff0eOpenLayers\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u30de\u30a6\u30b9\u30af\u30ea\u30c3\u30af\u306b\u53cd\u5fdc\u3059\u308b\u306e\u3067\u3001UIWebView\u5074\u304b\u3089\u30de\u30a6\u30b9\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8\u306fOpenLayers\u5074\u306b\u306f\u6e21\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0eOpenLayers\u5074\u3067\u4f55\u304b\u7279\u5225\u306a\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u304b\u3001\u3042\u308b\u3044\u306fUIWebViw\u5074\u3067\u7279\u5225\u306a\u51e6\u7406\u304c\u5fc5\u8981\u306a\u306e\u304b\u4eca\u306e\u3068\u3053\u308d\u89e3\u6c7a\u65b9\u6cd5\u306f\u4e0d\u660e\u3067\u3059\uff0e\r\n<br>\r<\/p>\r\n<div style=\"width: 680px; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/XcodeSettings.png\" alt=\"XCode Settings\" title=\"XCode Settings\" width=\"600\" height=\"429\" class=\"size-full wp-image-2678\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/XcodeSettings.png 600w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/XcodeSettings-160x114.png 160w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/XcodeSettings-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><br><span>HTML\u30d5\u30a1\u30a4\u30eb\u3068Javascript\u95a2\u4fc2\u306e\u30ea\u30bd\u30fc\u30b9\u3092Xcode\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7d44\u307f\u8fbc\u3080<\/span>\r\n<br>\r\n<\/div>\r\n\r\n<div style=\"width: 680px; margin: 0 auto; text-align: center;\">\r\n<div style=\"width: 340px; margin: 0 auto; text-align: center; float: left;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenInitial.png\" alt=\"Initial Startup Screen \" title=\"Initial Startup Screen \" width=\"256\" height=\"384\" class=\"size-full wp-image-2679\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenInitial.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenInitial-106x160.png 106w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenInitial-200x300.png 200w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><br><span>\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3059\u308b\u3068\u521d\u671f\u4f4d\u7f6e\u304c\u8868\u793a\u3055\u308c\u308b<\/span>\r\n<\/div>\r\n<div style=\"width: 340px; margin: 0 auto; text-align: center; float: right;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenCurrentLocation.png\" alt=\"Move to Current Location \" title=\"Move to Current Location \" width=\"256\" height=\"384\" class=\"size-full wp-image-2680\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenCurrentLocation.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenCurrentLocation-106x160.png 106w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2012\/01\/ScreenCurrentLocation-200x300.png 200w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><br><span>GPS\u304b\u3089\u53d6\u5f97\u3057\u305f\u73fe\u5728\u4f4d\u7f6e\u306b\u30de\u30c3\u30d7\u304c\u79fb\u52d5\u3059\u308b<\/span>\r\n<\/div>\r\n<div style=\"clear: both;\"><\/div>\r\n<br>\r\n<\/div>\r\n<div style=\"clear: both;\"><\/div>\r\n","protected":false},"excerpt":{"rendered":"\u96fb\u5b50\u56fd\u571f\u30b7\u30b9\u30c6\u30e0V3\u306e\u5730\u56f3\u8868\u793a\u90e8\u5206\u306e\u57fa\u672c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u3001OpenLayers 2.10 \u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u96fb\u5b50\u56fd\u571f\u57fa\u672c\u56f3\u306e\u80cc\u666f\u5730\u56f3\u306e\u5f62\u5f0f\u304c\u300e\u5730\u7403\u3092\u771f\u7403\u3068\u307f\u306a\u3057\u305f\u64ec\u4f3c\u5186\u7b52\u56f3\u6cd5\u300f\u3068\u3044\u3046\u7def\u5ea6\u306b\u3088\u308a\u7e26\u65b9\u5411\u306e\u89e3\u50cf\u5ea6\u304c\u7570\u306a\u308b\u3068\u3044\u3046\u7279\u6b8a\u306a\u65b9\u5f0f\u306e\u305f\u3081\u3001\u6a19\u6e96\u7684\u306a\u6b63\u65b9\u30e1\u30eb\u30ab\u30c8\u30eb\u30bf\u30a4\u30ea\u30f3\u30b0\u3092\u7528\u3044\u305fGIS\u30b7\u30b9\u30c6\u30e0\u3068\u306f\u3068\u3066\u3082\u76f8\u6027\u304c\u60aa\u3044\u3068\u8a00\u308f\u3056\u308b\u8ca0\u3048\u306a\u3044\u3067\u3057\u3087\u3046\uff0e","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[561,11],"tags":[507,488,510,509],"class_list":["post-2601","post","type-post","status-publish","format-standard","hentry","category-webmap","category-web","tag-openlayers","tag-488","tag-510","tag-509"],"_links":{"self":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/2601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/comments?post=2601"}],"version-history":[{"count":0,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/2601\/revisions"}],"wp:attachment":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/media?parent=2601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/categories?post=2601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/tags?post=2601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}