{"id":2649,"date":"2021-06-19T08:00:00","date_gmt":"2021-06-18T23:00:00","guid":{"rendered":"https:\/\/for-dummies.net\/gas-noobs\/?p=2649"},"modified":"2021-06-20T00:20:17","modified_gmt":"2021-06-19T15:20:17","slug":"gas-japanese-reference-for-maps","status":"publish","type":"post","link":"https:\/\/for-dummies.net\/gas-noobs\/gas-japanese-reference-for-maps\/","title":{"rendered":"\u4eca\u65e5\u304b\u3089Google\u30de\u30c3\u30d7\u3067\u4f7f\u3048\u308bGAS\u306e\u30b3\u30fc\u30c9\u4e00\u89a7"},"content":{"rendered":"\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Google Apps Script\u3067Google\u30de\u30c3\u30d7\u306b\u5bfe\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308bMaps\u3068\u3044\u3046\u51e6\u7406\u306e\u4e00\u89a7\u8868\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002Google\u306e<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/document\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306f\u82f1\u8a9e\u306a\u306e\u3067\u3001\u5206\u304b\u308a\u3065\u3089\u3044\u3068\u3053\u308d\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u307f\u306a\u3055\u3093\u304c\u305d\u3053\u3067\u632b\u6298\u3057\u306a\u3044\u3088\u3046\u306b\u65e5\u672c\u8a9e\u3067\u5185\u5bb9\u304c\u628a\u63e1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u3060\u3059\u3079\u3066\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u65e5\u672c\u8a9e\u3067\u306e\u4f7f\u3044\u65b9\u304c\u89e3\u8aac\u3067\u304d\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u6700\u7d42\u7684\u306b\u306f\u3059\u3079\u3066\u306e\u4f7f\u3044\u65b9\u3092\u65e5\u672c\u8a9e\u3067\u89e3\u8aac\u3059\u308b\u30da\u30fc\u30b8\u3092\u7528\u610f\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u3044\u308b\u8a18\u4e8b\u306e\u898b\u5206\u3051\u65b9\u306f\u3001\u7c21\u5358\u306a\u8aac\u660e\u5217\u3067\u65e5\u672c\u8a9e\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306b\u3064\u3044\u3066\u306f\u65e5\u672c\u8a9e\u8a18\u4e8b\u304c\u7528\u610f\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u30e1\u30bd\u30c3\u30c9\u540d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u5bfe\u8c61\u306e\u8a18\u4e8b\u3092\u95b2\u89a7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\u65e5\u672c\u8a9e\u306e\u8a18\u4e8b\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u306a\u3044\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306fGoogle\u304b\u3089\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff08\u82f1\u8a9e\uff09\u3078\u306e\u30ea\u30f3\u30af\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h2>Maps\u306e\u6982\u8981<\/h2>\n<p>Maps\u3068\u306f\u3001Google Apps Script\u3067Google\u30de\u30c3\u30d7\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u3092\u884c\u3046\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001Maps\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u9053\u9806\u691c\u7d22<\/li>\n<li>\u5ea7\u6a19\u306e\u691c\u7d22<\/li>\n<li>\u30de\u30c3\u30d7\u306e\u9759\u6b62\u753b\u751f\u6210<\/li>\n<\/ul>\n<p>\u3053\u3061\u3089\u306e\u30b3\u30fc\u30c9\u3067\u5b9f\u884c\u3067\u304d\u308b\u3082\u306e\u306f\u57fa\u672c\u7684\u306b\u9759\u6b62\u753b\u306e\u30de\u30c3\u30d7\u3092\u4f7f\u3063\u305f\u63cf\u753b\u3068\u306a\u308a\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306a\u3069\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u64cd\u4f5c\u304c\u3067\u304d\u308bGoogle\u30de\u30c3\u30d7\u306fGoogle Maps API\u3068\u3044\u3046\u3082\u306e\u3067\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3067\u3001\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u3066\u3044\u308bGAS\u3067\u5229\u7528\u3067\u304d\u308bMaps\u3068\u306f\u5225\u7269\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u540d\u4e00\u89a7<\/h2>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 25%;\"><a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#DirectionFinderEnums\">DirectionFinderEnums<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#ElevationSampler\">ElevationSampler<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 25%;\"><a href=\"#Geocoder\">Geocoder<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#StaticMapEnums\">StaticMapEnums<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: right;\">\u203b\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5bfe\u8c61\u5834\u6240\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u307e\u3059<\/p>\n<h2>\u5217\u6319\u578b\u4e00\u89a7<\/h2>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 25%;\"><a href=\"#Avoid\">Avoid<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#Color\">Color<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#Format\">Format<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 25%;\"><a href=\"#MarkerSize\">MarkerSize<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#Mode\">Mode<\/a><\/td>\n<td style=\"width: 25%;\"><a href=\"#Type\">Type<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: right;\">\u203b\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5bfe\u8c61\u5834\u6240\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u307e\u3059<\/p>\n<h2>\u30af\u30e9\u30b9\u5225\u30e1\u30bd\u30c3\u30c9\u540d\u4e00\u89a7<\/h2>\n\n\n\n<h3 id=\"DirectionFinder\">Class DirectionFinder<\/h3>\n<p>2\u70b9\u9593\u306e\u9053\u9806\u3092\u691c\u7d22\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u306e\u304c\u3053\u306eDirectionFinder\u30af\u30e9\u30b9\u3067\u3059\u3002\u4e0b\u8a18\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u65b0\u5bbf\u99c5\u304b\u3089\u65e5\u66ae\u91cc\u99c5\u3092\u7d4c\u7531\u3057\u3066\u6210\u7530\u7a7a\u6e2f\u307e\u3067\u5411\u304b\u3046\u3068\u3044\u3046\u8a2d\u5b9a\u3067DirectionFinder\u30af\u30e9\u30b9\u3092\u3069\u306e\u3088\u3046\u306b\u5229\u7528\u3059\u308b\u304b\u3068\u3044\u3046\u3053\u3068\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\u2192 <a href=\"https:\/\/script.google.com\/home\/projects\/1VBC7QLq67RA3DM-wXiRt7PpoKdK-9miPYjeCr_LKcCcwbWvdqzeQl5Si\/edit\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a> \u2190\u306e\u3092\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\u3092\u3059\u3050\u306b\u78ba\u8a8d\u304c\u3067\u304d\u307e\u3059\u3002\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5b9b\u306b\u753b\u50cf\u304c\u6dfb\u4ed8\u3055\u308c\u3066\u9001\u3089\u308c\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u30e1\u30fc\u30eb\u306e\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u4e0b\u3055\u3044\u3002<br \/>\u305d\u308c\u305e\u308c\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u5bfe\u3059\u308b\u8a73\u7d30\u306a\u89e3\u8aac\u306b\u3064\u3044\u3066\u306f\u3001\u5404\u30e1\u30bd\u30c3\u30c9\u306e\u30da\u30fc\u30b8\u306b\u3066\u78ba\u8a8d\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<div id=\"codeheader_js\" class=\"codeheader\">DirectionFinder\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b<\/div>\n<div id=\"codebox\">\n<pre>\/\/DirectionFinder\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b\nfunction sampleCodeForDirectionFinder() {\n  \/\/\u9053\u9806\u3092\u8a2d\u5b9a\u3057\u307e\u3059\n  let directions = Maps.newDirectionFinder()\n                       .setOrigin('\u65b0\u5bbf\u99c5')\n                       .addWaypoint('\u65e5\u66ae\u91cc\u99c5')\n                       .setDestination('\u6210\u7530\u7a7a\u6e2f\u99c5')\n                       .setMode(Maps.DirectionFinder.Mode.DRIVING)\n                       .getDirections();\n  let route = directions.routes[0];\n\n  \/\/\u30de\u30fc\u30ab\u30fc\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\n  let markerSize = Maps.StaticMap.MarkerSize.MID;\n  let markerColor = Maps.StaticMap.Color.GREEN\n  let markerLetterCode = 'A'.charCodeAt();\n\n  \/\/\u30de\u30c3\u30d7\u306b\u30de\u30fc\u30ab\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\n  let map = Maps.newStaticMap();\n  for (let i = 0; i &lt; route.legs.length; i++) {\n    let leg = route.legs[i];\n    if (i == 0) {\n      \/\/\u30b9\u30bf\u30fc\u30c8\u5730\u70b9\u306b\u30de\u30fc\u30ab\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\n      map.setMarkerStyle(markerSize, markerColor, String.fromCharCode(markerLetterCode));\n      map.addMarker(leg.start_location.lat, leg.start_location.lng);\n      markerLetterCode++;\n    }\n      \/\/\u30b4\u30fc\u30eb\u5730\u70b9\u306b\u30de\u30fc\u30ab\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\n    map.setMarkerStyle(markerSize, markerColor, String.fromCharCode(markerLetterCode));\n    map.addMarker(leg.end_location.lat, leg.end_location.lng);\n    markerLetterCode++;\n  }\n\n  \/\/\u9053\u9806\u3092\u30cf\u30a4\u30e9\u30a4\u30c8\u3057\u307e\u3059\n  map.addPath(route.overview_polyline.points);\n\n  \/\/\u81ea\u5206\u5b9b\u3066\u306b\u30e1\u30fc\u30eb\u3067\u753b\u50cf\u3092\u6dfb\u4ed8\u3057\u307e\u3059\u3002\n  let toAddress = Session.getActiveUser().getEmail();\n  let options = {\n      attachments: [Utilities.newBlob(map.getMapImage(), 'image\/png')\n                           .setName(\"\u9053\u9806\u30b5\u30f3\u30d7\u30eb\")],\n    }\n  MailApp.sendEmail(\n    toAddress,\n    \"\u65b0\u5bbf\u99c5\u304b\u3089\u65e5\u66ae\u91cc\u99c5\u7d4c\u7531\u306e\u6210\u7530\u7a7a\u6e2f\u99c5\u307e\u3067\u306e\u9053\u9806\",\n    \"\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u78ba\u8a8d\u4e0b\u3055\u3044\u3002\",\n    options\n  );\n}<\/pre>\n<\/div>\n<table style=\"border-collapse: collapse; width: 100%; height: 336px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30e1\u30bd\u30c3\u30c9\u540d<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8fd4\u308a\u5024<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#addWaypoint(Number,Number)\" target=\"_blank\" rel=\"noopener\">addWaypoint<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a waypoint that the route must pass through, using a point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#clearWaypoints()\" target=\"_blank\" rel=\"noopener\">clearWaypoints<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Clears the current set of waypoints.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#getDirections()\" target=\"_blank\" rel=\"noopener\">getDirections<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the directions using the origin, destination, and other options that were set.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setAlternatives(Boolean)\" target=\"_blank\" rel=\"noopener\">setAlternatives<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets whether or not alternative routes should be returned, instead of just the highest ranked route (defaults to false).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setArrive(Date)\" target=\"_blank\" rel=\"noopener\">setArrive<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the desired time of arrival (when applicable).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setAvoid(String)\" target=\"_blank\" rel=\"noopener\">setAvoid<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets whether to avoid certain types of restrictions.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setDepart(Date)\" target=\"_blank\" rel=\"noopener\">setDepart<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the desired time of departure (when applicable).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setDestination(Number,Number)\" target=\"_blank\" rel=\"noopener\">setDestination<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the ending location for which to calculate directions to, using a point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setLanguage(String)\" target=\"_blank\" rel=\"noopener\">setLanguage<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the language to be used for the directions.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setMode(String)\" target=\"_blank\" rel=\"noopener\">setMode<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the mode of travel (defaults to driving).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setOptimizeWaypoints(Boolean)\" target=\"_blank\" rel=\"noopener\">setOptimizeWaypoints<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets whether or not to optimize the provided route by rearranging the waypoints in a more efficient order (defaults to false).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setOrigin(Number,Number)\" target=\"_blank\" rel=\"noopener\">setOrigin<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the starting location from which to calculate directions, using a point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/direction-finder#setRegion(String)\" target=\"_blank\" rel=\"noopener\">setRegion<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#DirectionFinder\">DirectionFinder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets a region to use when interpreting location names.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"DirectionFinderEnums\">Class DirectionFinderEnums<\/h3>\n<p>DirectionFinder\u3067\u5229\u7528\u3067\u304d\u308b\u5217\u6319\u578b<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Avoid<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Avoid\">Avoid<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u691c\u7d22\u306b\u5236\u9650\u3092\u304b\u3051\u308b<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Mode<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Mode\">Mode<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u691c\u7d22\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"ElevationSampler\">Class ElevationSampler<\/h3>\n<p>ElevationSampler\u30af\u30e9\u30b9\u3067\u306f\u3001\u6307\u5b9a\u3057\u305f\u5834\u6240\u306e\u9ad8\u5ea6\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u4e0b\u8a18\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u65b0\u5bbf\u99c5\u304b\u3089\u6210\u7530\u99c5\u306e\u7d4c\u8def\u306b\u6cbf\u3063\u3066\u3001\u4e00\u756a\u9ad8\u5ea6\u306e\u9ad8\u3044\u5834\u6240\u306b\u30de\u30fc\u30ab\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u305f\u30de\u30c3\u30d7\u753b\u50cf\u3092\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5b9b\u306b\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u3057\u3066\u9001\u4fe1\u3059\u308b\u30b3\u30fc\u30c9\u3068\u306a\u308a\u307e\u3059\u3002ElevationSampler\u30af\u30e9\u30b9\u306e\u5927\u307e\u304b\u306a\u4f7f\u3044\u65b9\u304c\u30b5\u30f3\u30d7\u30eb\u306e\u4e2d\u3067\u7406\u89e3\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3059\u3050\u306b\u5b9f\u884c\u53ef\u80fd\u306a\u30b5\u30f3\u30d7\u30eb\u306f\u2192 <a href=\"https:\/\/script.google.com\/home\/projects\/1nq4if_qPmFQB0A14WhuJIZ5jCqi5x4ut3Gi1R394njTfGMHsvRtcld2I\/edit\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a> \u2190\u3092\u30af\u30ea\u30c3\u30af<\/p>\n<div id=\"codeheader_js\" class=\"codeheader\">ElevationSampler\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b<\/div>\n<div id=\"codebox\">\n<pre>\/\/ElevationSampler\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b\nfunction sampleCodeForElevationSampler() {\n  \/\/\u65b0\u5bbf\u99c5\u304b\u3089\u6210\u7530\u7a7a\u6e2f\u99c5\u307e\u3067\u306e\u9053\u9806\u3092\u8a2d\u5b9a\u3057\u307e\u3059\nvar directions = Maps.newDirectionFinder()\n                     .setOrigin('\u65b0\u5bbf\u99c5')\n                     .setDestination('\u6210\u7530\u7a7a\u6e2f\u99c5')\n    .setMode(Maps.DirectionFinder.Mode.DRIVING)\n    .getDirections();\nvar route = directions.routes[0];\n\n\/\/\u9053\u9806\u306b\u6cbf\u3063\u3066\u9ad8\u5ea6\u3092\u53d6\u5f97\u3057\u307e\u3059\nvar numberOfSamples = 30;\nvar response = Maps.newElevationSampler()\n    .samplePath(route.overview_polyline.points, numberOfSamples)\n\n\/\/\u6700\u9ad8\u5ea6\u5730\u70b9\u3092\u7b97\u51fa\u3057\u307e\u3059\nvar maxElevation = Number.MIN_VALUE;\nvar highestPoint = null;\nfor (var i = 0; i &lt; response.results.length; i++) {\n  var sample = response.results[i];\n  if (sample.elevation &gt; maxElevation) {\n    maxElevation = sample.elevation;\n    highestPoint = sample.location;\n  }\n}\n\n\/\/\u9053\u9806\u3092\u30cf\u30a4\u30e9\u30a4\u30c8\u3057\u3066\u6700\u9ad8\u5ea6\u5730\u70b9\u306b\u30de\u30fc\u30ab\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\nvar map = Maps.newStaticMap()\n    .addPath(route.overview_polyline.points)\n    .addMarker(highestPoint.lat, highestPoint.lng);\n\n  \/\/\u81ea\u5206\u5b9b\u3066\u306b\u30e1\u30fc\u30eb\u3067\u753b\u50cf\u3092\u6dfb\u4ed8\u3057\u307e\u3059\u3002\n  let toAddress = Session.getActiveUser().getEmail();\n  let options = {\n      attachments: [Utilities.newBlob(map.getMapImage(), 'image\/png')\n                           .setName(\"\u6700\u9ad8\u5ea6\u5730\u70b9\")],\n    }\n  MailApp.sendEmail(\n    toAddress,\n    \"\u65b0\u5bbf\u99c5\u304b\u3089\u6210\u7530\u7a7a\u6e2f\u99c5\u9593\u3067\u306e\u6700\u9ad8\u5ea6\u5730\u70b9\",\n    \"\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u78ba\u8a8d\u4e0b\u3055\u3044\u3002\",\n    options\n  );\n}<\/pre>\n<\/div>\n<table style=\"border-collapse: collapse; width: 100%; height: 96px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30e1\u30bd\u30c3\u30c9\u540d<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8fd4\u308a\u5024<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/elevation-sampler#sampleLocation(Number,Number)\" target=\"_blank\" rel=\"noopener\">sampleLocation<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Returns elevation data for a single point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/elevation-sampler#sampleLocations(Number)\" target=\"_blank\" rel=\"noopener\">sampleLocations<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Returns elevation data for a series of points (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/elevation-sampler#samplePath(Number,Integer)\" target=\"_blank\" rel=\"noopener\">samplePath<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Returns elevation data for a number of samples along a line, defined using a series of points.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"Geocoder\">Class Geocoder<\/h3>\n<p>Geocoder\u30af\u30e9\u30b9\u3067\u306f\u3001\u6587\u5b57\u3068\u3057\u3066\u5165\u529b\u3055\u308c\u305f\u4f4f\u6240\u60c5\u5831\u3068\u5ea7\u6a19\u3092\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e0b\u8a18\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u300e\u65b0\u5bbf\u99c5\u300f\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u5ea7\u6a19\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002Geocoder\u30af\u30e9\u30b9\u306e\u5927\u307e\u304b\u306a\u4f7f\u3044\u65b9\u304c\u30b5\u30f3\u30d7\u30eb\u306e\u4e2d\u3067\u7406\u89e3\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3059\u3050\u306b\u5b9f\u884c\u53ef\u80fd\u306a\u30b5\u30f3\u30d7\u30eb\u306f\u2192 <a href=\"https:\/\/script.google.com\/home\/projects\/13122c7_K-XZ64dOoEn7b2v_D_LL1KsqJJ-djiO_hJlt_fjjdXY9egbos\/edit\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a> \u2190\u3092\u30af\u30ea\u30c3\u30af<\/p>\n<div id=\"codeheader_js\" class=\"codeheader\">Geocoder\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b<\/div>\n<div id=\"codebox\">\n<pre>\/\/Geocoder\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u4f8b\nfunction sampleCodeForGeocoder() {\n  \/\/ Find the best matches for \"Main St\" in Colorado.\n  var response = Maps.newGeocoder()\n      \/\/ The latitudes and longitudes of southwest and northeast corners of Colorado, respectively.\n      .setBounds(35.687267, 139.696014, 35.693575, 139.705500)\n      .geocode(\"\u65b0\u5bbf\u99c5\");\n\n  var map = Maps.newStaticMap();\n\n  \/\/\u65b0\u5bbf\u99c5\u306e\u5ea7\u6a19\u3092\u53d6\u5f97\u3057\u3066\u30ed\u30b0\u306b\u51fa\u529b\u3059\u308b\n  for (var i = 0; i &lt; response.results.length &amp;&amp; i &lt; 9; i++) {\n    var result = response.results[i];\n    var lat = result.geometry.location.lat;\n    var lng = result.geometry.location.lng;\n    console.log(\"\u7d4c\u5ea6\uff1a\" + lat);\n    console.log(\"\u7def\u5ea6\uff1a\" + lng);\n    console.log(\"Google\u30de\u30c3\u30d7\u3067\u691c\u7d22\u3057\u3066\u4e0b\u3055\u3044\\n\" + lat + \", \" + lng);\n  }\n}\n<\/pre>\n<\/div>\n<table style=\"border-collapse: collapse; width: 100%; height: 144px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30e1\u30bd\u30c3\u30c9\u540d<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8fd4\u308a\u5024<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/geocoder#geocode(String)\" target=\"_blank\" rel=\"noopener\">geocode<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the approximate geographic points for a given address.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/geocoder#reverseGeocode(Number,Number)\" target=\"_blank\" rel=\"noopener\">reverseGeocode<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Object<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the approximate addresses for a given geographic point.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/geocoder#setBounds(Number,Number,Number,Number)\" target=\"_blank\" rel=\"noopener\">setBounds<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Geocoder\">Geocoder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the bounds of an area that should be given extra preference in the results.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/geocoder#setLanguage(String)\" target=\"_blank\" rel=\"noopener\">setLanguage<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Geocoder\">Geocoder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the language to be used in the results.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/geocoder#setRegion(String)\" target=\"_blank\" rel=\"noopener\">setRegion<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Geocoder\">Geocoder<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets a region to use when interpreting location names.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"StaticMap\">Class StaticMap<\/h3>\n<p>StaticMap\u30af\u30e9\u30b9\u3067\u306f\u3001\u30de\u30c3\u30d7\u306e\u9759\u6b62\u753b\u3092\u4f5c\u6210\u3057\u305f\u308a\u30de\u30c3\u30d7\u3092\u88c5\u98fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e0b\u8a18\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u9759\u6b62\u753b\u306b\u5883\u754c\u7bc4\u56f2\u3092\u8a2d\u5b9a\u3057\u3066\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u51e6\u7406\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u304b\u3089StaticCode\u30af\u30e9\u30b9\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u30d9\u30eb\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u3059\u3050\u306b\u5b9f\u884c\u3067\u304d\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u2192 <a href=\"https:\/\/script.google.com\/home\/projects\/13122c7_K-XZ64dOoEn7b2v_D_LL1KsqJJ-djiO_hJlt_fjjdXY9egbos\/edit\" target=\"_blank\" rel=\"noopener\">\u3053\u3053<\/a> \u2190\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 600px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30e1\u30bd\u30c3\u30c9\u540d<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8fd4\u308a\u5024<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#addAddress(String)\" target=\"_blank\" rel=\"noopener\">addAddress<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a new address to the current path definition.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#addMarker(Number,Number)\" target=\"_blank\" rel=\"noopener\">addMarker<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a marker to the map using a point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#addPath(Number)\" target=\"_blank\" rel=\"noopener\">addPath<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a path to the map using an array of points.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#addPoint(Number,Number)\" target=\"_blank\" rel=\"noopener\">addPoint<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a new point (lat\/lng) to the current path definition.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#addVisible(Number,Number)\" target=\"_blank\" rel=\"noopener\">addVisible<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Adds a point (lat\/lng) location that must be visible in the map.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#beginPath()\" target=\"_blank\" rel=\"noopener\">beginPath<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Starts a new path definition.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#clearMarkers()\" target=\"_blank\" rel=\"noopener\">clearMarkers<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Clears the current set of markers.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#clearPaths()\" target=\"_blank\" rel=\"noopener\">clearPaths<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Clear the current set of paths.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#clearVisibles()\" target=\"_blank\" rel=\"noopener\">clearVisibles<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Clears the current set of visible locations.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#endPath()\" target=\"_blank\" rel=\"noopener\">endPath<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Completes a path definition started with beginPath().<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#getAs(String)\" target=\"_blank\" rel=\"noopener\">getAs<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Blob\">Blob<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Return the data inside this object as a blob converted to the specified content type.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#getBlob()\" target=\"_blank\" rel=\"noopener\">getBlob<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Blob\">Blob<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the image data as a Blob.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#getMapImage()\" target=\"_blank\" rel=\"noopener\">getMapImage<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Byte[]<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the raw image data as a byte array.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#getMapUrl()\" target=\"_blank\" rel=\"noopener\">getMapUrl<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0String<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Gets the URL of the map image.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setCenter(Number,Number)\" target=\"_blank\" rel=\"noopener\">setCenter<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the center of the map using a point (lat\/lng).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setCustomMarkerStyle(String,Boolean)\" target=\"_blank\" rel=\"noopener\">setCustomMarkerStyle<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the custom marker image to use when creating new markers.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setFormat(String)\" target=\"_blank\" rel=\"noopener\">setFormat<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the format of the map image.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setLanguage(String)\" target=\"_blank\" rel=\"noopener\">setLanguage<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the language to be used for text on the map (where avaialbe).<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setMapType(String)\" target=\"_blank\" rel=\"noopener\">setMapType<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the type of map to be shown.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setMarkerStyle(String,String,String)\" target=\"_blank\" rel=\"noopener\">setMarkerStyle<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the marker style to use when creating new markers.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setMobile(Boolean)\" target=\"_blank\" rel=\"noopener\">setMobile<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets whether or not to use specialized tile sets for mobile devices.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setPathStyle(Integer,String,String)\" target=\"_blank\" rel=\"noopener\">setPathStyle<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the path style to use when creating new paths.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setSize(Integer,Integer)\" target=\"_blank\" rel=\"noopener\">setSize<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the width and height of the map image in pixels.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/maps\/static-map#setZoom(Integer)\" target=\"_blank\" rel=\"noopener\">setZoom<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#StaticMap\">StaticMap<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Sets the zoom factor, or magnification level, used for the map.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"StaticMapEnums\">Class StaticMapEnums<\/h3>\n<p>StaticMap\u3067\u5229\u7528\u3067\u304d\u308b\u5217\u6319\u578b<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 120px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u7c21\u5358\u306a\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Color<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Color\">Color<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u8272\u3092\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Format<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Format\">Format<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u9759\u6b62\u753b\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0MarkerSize<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#MarkerSize\">MarkerSize<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u30de\u30fc\u30ab\u30fc\u306e\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Type<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"#Type\">Type<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u30de\u30c3\u30d7\u306e\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h2>\u5217\u6319\u578b\u540d\u4e00\u89a7<\/h2>\n<p>\u5217\u6319\u578b\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u306f\u3001\u57fa\u672c\u7684\u306b\u306fEnums\u7528\u30af\u30e9\u30b9\u3068\u4f75\u7528\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u300eMaps.StaticMap.\u5217\u6319\u578b\u540d.\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u300for \u300eMaps.DirectionFinder.\u5217\u6319\u578b\u540d.\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u300f\u306e\u5f62\u3067\u5229\u7528\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Avoid\u306eTOLLS\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u300eMaps.DirectionFinder.Avoid.TOLLS\u300f<br>Color\u306eBLACK\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u300eMaps.staticMap.Color.BLACK\u300f\u3068\u3044\u3046\u5f62\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"Avoid\">Enums Avoid<\/h3>\n<p>\u884c\u304d\u5148\u691c\u7d22\u306e\u969b\u306b\u691c\u7d22\u6761\u4ef6\u306b\u5236\u9650\u3092\u304b\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 72px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;TOLLS<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u6709\u6599\u9053\u8def\u3092\u907f\u3051\u3066\u691c\u7d22<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;HIGHWAYS<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u9ad8\u901f\u9053\u8def\u3092\u907f\u3051\u3066\u691c\u7d22<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"Color\">Enums Color<\/h3>\n<p>\u30de\u30c3\u30d7\u753b\u50cf\u306e\u4e2d\u3067\u5229\u7528\u3067\u304d\u308b\u8272\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;BLACK<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: black;\">\u25a0<\/span> \u30d6\u30e9\u30c3\u30af<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;BROWN<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: brown;\">\u25a0<\/span> \u30d6\u30e9\u30a6\u30f3<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;GREEN<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: green;\">\u25a0<\/span> \u30b0\u30ea\u30fc\u30f3<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;PURPLE<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: purple;\">\u25a0<\/span> \u30d1\u30fc\u30d7\u30eb<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;YELLOW<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: yellow;\">\u25a0<\/span> \u30a4\u30a8\u30ed\u30fc<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;BLUE<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: blue;\">\u25a0<\/span> \u30d6\u30eb\u30fc<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;GRAY<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: gray;\">\u25a0<\/span> \u30b0\u30ec\u30fc<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;ORANGE<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: orange;\">\u25a0<\/span> \u30aa\u30ec\u30f3\u30b8<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;RED<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: red;\">\u25a0<\/span> \u30ec\u30c3\u30c9<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;WHITE<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;<span style=\"color: white;\">\u25a0<\/span> \u30db\u30ef\u30a4\u30c8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"Format\">Enums Format<\/h3>\n<p>\u30de\u30c3\u30d7\u753b\u50cf\u306e\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 168px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;PNG<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;8-bit PNG\u5f62\u5f0f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;PNG8<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;8-bit PNG\u5f62\u5f0f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;PNG32<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;32-bit PNG\u5f62\u5f0f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;GIF<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;GIF\u5f62\u5f0f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;JPG<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u30d7\u30ed\u30b0\u30ec\u30c3\u30b7\u30d6JPEG\u5f62\u5f0f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;JPG_BASELINE<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3JPEG\u5f62\u5f0f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"MarkerSize\">Enums MarkerSize<\/h3>\n<p>\u30de\u30fc\u30ab\u30fc\u306e\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">&nbsp;\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;TINY<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u6700\u5c0f\u30b5\u30a4\u30ba\u306e\u8a2d\u5b9a\u3067\u3001\u30e9\u30d9\u30eb\u306f\u975e\u8868\u793a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;MID<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u6700\u5927\u30b5\u30a4\u30ba\u306e\u8a2d\u5b9a\u3067\u3001\u30e9\u30d9\u30eb\u306f\u8868\u793a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;SMALL<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">&nbsp;\u4e2d\u30b5\u30a4\u30ba\u306e\u8a2d\u5b9a\u3067\u3001\u30e9\u30d9\u30eb\u306f\u975e\u8868\u793a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 id=\"Mode\">Enums Mode<\/h3>\n<p>\u884c\u304d\u5148\u691c\u7d22\u6642\u306e\u4ea4\u901a\u624b\u6bb5\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0DRIVING<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u8eca\u3067\u8eca\u9053\u3092\u901a\u308b\u6761\u4ef6\u3067\u9053\u9806\u3092\u691c\u7d22<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0WALKING<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u5f92\u6b69\u3067\u6b69\u9053\u3084\u5c0f\u9053\u3092\u901a\u308b\u6761\u4ef6\u3067\u9053\u9806\u3092\u691c\u7d22<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0BICYCLING<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u81ea\u8ee2\u8eca\u3067\u5c0f\u9053\u3084\u9053\u8def\u3092\u901a\u308b\u6761\u4ef6\u3067\u9053\u9806\u3092\u691c\u7d22<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0TRANSIT<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u516c\u5171\u4ea4\u901a\u6a5f\u95a2\u3092\u4f7f\u3063\u3066\u9053\u9806\u3092\u691c\u7d22\u3002\u3053\u306e\u30e2\u30fc\u30c9\u3067\u306f\u51fa\u767a\u6642\u9593\u304b\u5230\u7740\u6642\u9593\u3092\u4e00\u7dd2\u306b\u8a2d\u5b9a\u3059\u308b\u4e8b\u304c\u5fc5\u8981\u203b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/script.google.com\/d\/1YFEa90T_vLBKEgLUIrQDlGUFLx9CLxR-1y9h6Ug0cADSYZiBkkMhfy7v\/edit?usp=drivesdk\" target=\"_blank\" rel=\"noopener\">\u516c\u5171\u4ea4\u901a\u6a5f\u95a2\u3092\u4f7f\u3063\u305f\u884c\u304d\u5148\u691c\u7d22\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a><\/p>\n<div id=\"codeheader_js\" class=\"codeheader\">\u203b\u516c\u5171\u4ea4\u901a\u6a5f\u95a2\u3092\u4f7f\u3063\u305f\u884c\u304d\u5148\u691c\u7d22\u306e\u3084\u308a\u65b9<\/div>\n<div id=\"codebox\">\n<pre>\/\/\u516c\u5171\u4ea4\u901a\u6a5f\u95a2\u3092\u4f7f\u3063\u305f\u884c\u304d\u5148\u691c\u7d22\u95a2\u6570\nfunction sampleCodeForTransitMode() { \n  var directions = Maps.newDirectionFinder()\n                       .setOrigin('\u65b0\u5bbf\u99c5')\n                      .setDestination('\u7fbd\u7530\u7a7a\u6e2f')\n                      .setMode(Maps.DirectionFinder.Mode.TRANSIT)\n                      .setDepart(new Date()) \n                      .getDirections();\n  var route = directions.routes[0];\n  console.log(route);\n}<\/pre>\n<\/div>\n\n\n\n<h3 id=\"Type\">Enums Type<\/h3>\n<p>\u30de\u30c3\u30d7\u306e\u8868\u793a\u65b9\u6cd5\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5404\u8a2d\u5b9a\u306e\u8868\u793a\u30de\u30c3\u30d7\u4f8b\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 120px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30d7\u30ed\u30d1\u30c6\u30a3<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u30bf\u30a4\u30d7<\/td>\n<td style=\"width: 33.3333%; text-align: center; height: 24px;\">\u00a0\u8aac\u660e<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/for-dummies.net\/gas-noobs\/wp-content\/uploads\/2021\/06\/roadmapType.png\" target=\"_blank\" rel=\"noopener\">ROADMAP<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Google\u30de\u30c3\u30d7\u306e\u6a19\u6e96\u306e\u8868\u793a\u65b9\u6cd5<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/for-dummies.net\/gas-noobs\/wp-content\/uploads\/2021\/06\/satteliteType.jpg\" target=\"_blank\" rel=\"noopener\">SATELLITE<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u822a\u7a7a\u5199\u771f\u8868\u793a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/for-dummies.net\/gas-noobs\/wp-content\/uploads\/2021\/06\/terrainType.jpg\" target=\"_blank\" rel=\"noopener\">TERRAIN<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u6a19\u6e96\u8868\u793a\u65b9\u6cd5\u306b\u5730\u5f62\u304c\u308f\u304b\u308b\u3088\u3046\u306b\u52a0\u5de5\u3055\u308c\u305f\u8868\u793a<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0<a href=\"https:\/\/for-dummies.net\/gas-noobs\/wp-content\/uploads\/2021\/06\/hybridType.jpg\" target=\"_blank\" rel=\"noopener\">HYBRID<\/a><\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0Enum<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">\u00a0\u822a\u7a7a\u5199\u771f\u8868\u793a\u306b\u6a19\u6e96\u8868\u793a\u306e\u4e3b\u8981\u9053\u8def\u3084\u4e3b\u8981\u5efa\u7269\u306e\u30e9\u30d9\u30eb\u3092\u4ed8\u52a0\u3057\u305f\u8868\u793a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":2659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","spay_email":"","jetpack_publicize_message":"\u4eca\u65e5\u304b\u3089Google\u30de\u30c3\u30d7\u3067\u4f7f\u3048\u308bGAS\u306e\u30b3\u30fc\u30c9\u4e00\u89a7\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\n\u30a6\u30a7\u30d6\u30b7\u30b9\u30c6\u30e0\u306a\u3069\u3067\u30de\u30c3\u30d7\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u306a\u3069\u306b\u624b\u8efd\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\n\n#GAS #GoogleAppsScript #Maps #GoogleMaps #Google\u30de\u30c3\u30d7 #\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9","jetpack_is_tweetstorm":false},"categories":[16,12,3],"tags":[51,52,197,62,196,54,103],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/for-dummies.net\/gas-noobs\/wp-content\/uploads\/2021\/06\/templateLogo_maps.png?fit=320%2C180&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9Z92k-GJ","jetpack_likes_enabled":true,"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/posts\/2649"}],"collection":[{"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/comments?post=2649"}],"version-history":[{"count":5,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/posts\/2649\/revisions"}],"predecessor-version":[{"id":2660,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/posts\/2649\/revisions\/2660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/media\/2659"}],"wp:attachment":[{"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/media?parent=2649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/categories?post=2649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/for-dummies.net\/gas-noobs\/wp-json\/wp\/v2\/tags?post=2649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}