{"id":2280,"date":"2015-02-18T15:35:09","date_gmt":"2015-02-18T06:35:09","guid":{"rendered":"http:\/\/taitan916.info\/blog\/?p=2280"},"modified":"2024-01-13T13:35:03","modified_gmt":"2024-01-13T04:35:03","slug":"post-2280","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/2280","title":{"rendered":"HTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6<\/h2>\n<p>IE9\uff5e \/ FireFox3.5\uff5e \/ GoogleChrome 5\uff5e \/ Safari 5\uff5e<\/p>\n<p>&nbsp;<\/p>\n<h2>\u53d6\u5f97\u306e\u307f\u306e\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">var ret = new Array();\r\nif( navigator.geolocation ){\r\n    navigator.geolocation.getCurrentPosition(\r\n        function( pos ){ \/\/\u4f4d\u7f6e\u53d6\u5f97\u6210\u529f\r\n            ret['long'] = pos.coords.longitude; \/\/\u7d4c\u5ea6\r\n            ret['lat'] = pos.coords.latitude; \/\/\u7def\u5ea6\r\n            result( ret );\r\n        },\r\n        function( error ){ \/\/\u5931\u6557\r\n            switch( error.code ){\r\n                case 1: ret['msg'] = \"\u4f4d\u7f6e\u60c5\u5831\u306e\u5229\u7528\u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093\"; break;\r\n                case 2: ret['msg'] = \"\u30c7\u30d0\u30a4\u30b9\u306e\u4f4d\u7f6e\u304c\u5224\u5b9a\u3067\u304d\u307e\u305b\u3093\"; break;\r\n                case 3: ret['msg'] = \"\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f\"; break;\r\n            }\r\n            result( ret );\r\n        }\r\n    );\r\n} else { \/\/\u4f7f\u7528\u4e0d\u53ef\u306e\u30d6\u30e9\u30a6\u30b6\r\n    ret['msg'] = '\u3053\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u4f4d\u7f6e\u53d6\u5f97\u304c\u51fa\u6765\u307e\u305b\u3093\u3002';\r\n    result( ret );\r\n}\r\nfunction result( ret ){\r\n    console.log( ret );\r\n}<\/pre>\n<p>\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046\u70ba\u3001\u30bd\u30fc\u30b9\u304c\u4e0a\u304b\u3089\u9806\u756a\u306b\u8aad\u307e\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u51e6\u7406\u9806\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u305f\u3081\u6ce8\u610f\u3002\u4f4d\u7f6e\u60c5\u5831\u53d6\u5f97\u51e6\u7406\u5f8c\u306b\u9055\u3046\u51e6\u7406\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u8003\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u304c\u9762\u5012\u3002<\/p>\n<p>\u4ee5\u4e0b\u306bGoogleMapAPI\u306b\u53cd\u6620\u3055\u305b\u308b\u30b5\u30f3\u30d7\u30eb\u3068\u30bd\u30fc\u30b9\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb<\/h2>\n<p><a href=\"https:\/\/taitan916.info\/sample\/geolocation\/\" target=\"_blank\" rel=\"noopener\">https:\/\/taitan916.info\/sample\/geolocation\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/\/\u30b5\u30f3\u30d7\u30eb\u3067\u6771\u4eac\u30bf\u30ef\u30fc\u3092\u8868\u793a\r\nvar currentWindow = null;\r\nvar sample = { 'x':'35.65858', 'y':'139.745433', 'balloon':'\u6771\u4eac\u30bf\u30ef\u30fc' };\r\nvar latlng = new google.maps.LatLng(sample.x, sample.y);\r\nvar myOptions = { zoom: 7, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP };\r\nvar map = new google.maps.Map(document.getElementById(\"map_canvas\"), myOptions);\r\nmakeMarker(sample);\r\n\r\n\r\n\/\/\u73fe\u5728\u4f4d\u7f6e\u306e\u53d6\u5f97\r\nif (navigator.geolocation) {\r\n    navigator.geolocation.getCurrentPosition(\r\n    function (pos) { \r\n        var mapData = { 'x':pos.coords.latitude, 'y':pos.coords.longitude, 'balloon':'\u73fe\u5728\u4f4d\u7f6e' };\r\n        makeMarker( mapData );\r\n    },\r\n    function (error) {\r\n        var msg;\r\n        switch( error.code ){\r\n            case 1: msg = \"\u4f4d\u7f6e\u60c5\u5831\u306e\u5229\u7528\u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093\"; break;\r\n            case 2: msg = \"\u4f4d\u7f6e\u304c\u5224\u5b9a\u3067\u304d\u307e\u305b\u3093\"; break;\r\n            case 3: msg = \"\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f\"; break;\r\n        }\r\n        alert(msg);\r\n    });\r\n} else {\r\n    alert(\"\u672c\u30d6\u30e9\u30a6\u30b6\u3067\u306fGeolocation\u304c\u4f7f\u3048\u307e\u305b\u3093\");\r\n}\r\n\r\n\/\/\u30de\u30fc\u30ab\u30fc\u4f5c\u6210\r\nfunction makeMarker( mapData ){\r\n    var marker = new google.maps.Marker({\r\n        position : new google.maps.LatLng(mapData.x,mapData.y), \r\n        map: map\r\n    });\r\n\r\n    var infoWindow = new google.maps.InfoWindow();\r\n    google.maps.event.addListener(marker, 'click', function() {\r\n        if (currentWindow) {\r\n            currentWindow.close();\r\n        }\r\n        infoWindow.setContent(mapData.balloon);\r\n        infoWindow.open(map,marker);\r\n        currentWindow = infoWindow;\r\n    });\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u305d\u306e\u4ed6<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u306b\u3088\u3063\u3066\u30ea\u30ed\u30fc\u30c9\u306e\u305f\u3073\u306b\u8a31\u53ef\u3092\u6c42\u3081\u3089\u308c\u308b\u3082\u306e\u3068\u6c42\u3081\u3089\u308c\u306a\u3044\u3082\u306e\u304c\u3042\u3063\u305f\u3002\u4e00\u5ea6\u53d6\u5f97\u3057\u305f\u3082\u306e\u306f10\u5206\u3050\u3089\u3044\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u305b\u3068\u304f\u306e\u304c\u826f\u3044\u304b\u3082\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063 ... <\/p>\n","protected":false},"author":1,"featured_media":1423,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[71,70,9],"tags":[],"class_list":["post-2280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-maps-api","category-google","category-html"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"taitan\"\/>\n\t<meta name=\"keywords\" content=\"googlemap,\u4f4d\u7f6e\u60c5\u5831\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/2280\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/2280\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-02-18T06:35:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-13T04:35:03+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#article\",\"name\":\"HTML5\\u306eGeolocationAPI\\u3067\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092\\u53d6\\u5f97\\u3057GoogleMapAPI\\u3067\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"HTML5\\u306eGeolocation API\\u3067\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092\\u53d6\\u5f97\\u3057\\u3066GoogleMapAPI\\u3067\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/mzl.qobqfuxq.png\",\"width\":1024,\"height\":1024},\"datePublished\":\"2015-02-18T15:35:09+09:00\",\"dateModified\":\"2024-01-13T13:35:03+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#webpage\"},\"articleSection\":\"Google Maps API, Google, HTML\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google#listItem\",\"name\":\"Google\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google#listItem\",\"position\":2,\"name\":\"Google\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google\\\/google-maps-api#listItem\",\"name\":\"Google Maps API\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google\\\/google-maps-api#listItem\",\"position\":3,\"name\":\"Google Maps API\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google\\\/google-maps-api\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#listItem\",\"name\":\"HTML5\\u306eGeolocation API\\u3067\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092\\u53d6\\u5f97\\u3057\\u3066GoogleMapAPI\\u3067\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google#listItem\",\"name\":\"Google\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#listItem\",\"position\":4,\"name\":\"HTML5\\u306eGeolocation API\\u3067\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092\\u53d6\\u5f97\\u3057\\u3066GoogleMapAPI\\u3067\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/google\\\/google-maps-api#listItem\",\"name\":\"Google Maps API\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\",\"name\":\"taitan\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916\",\"name\":\"taitan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280\",\"name\":\"HTML5\\u306eGeolocationAPI\\u3067\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092\\u53d6\\u5f97\\u3057GoogleMapAPI\\u3067\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"GPS\\u307f\\u305f\\u3044\\u306a\\u4f4d\\u7f6e\\u60c5\\u5831\\u3092PHP\\u3067\\u53d6\\u5f97\\u3057\\u3001GoogleMapAPI\\u3067\\u305d\\u306e\\u5834\\u6240\\u3092\\u53cd\\u6620\\u3055\\u305b\\u305f\\u304b\\u3063\\u305f\\u3002\\u8abf\\u3079\\u3066\\u307f\\u308b\\u3068HTML5\\u306eGeolocation API\\u3068\\u3044\\u3046\\u3082\\u306e\\u304c\\u4f7f\\u3048\\u305d\\u3046\\u3002\\u4ee5\\u4e0b\\u5bfe\\u5fdc\\u65b9\\u6cd5\\u306e\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/mzl.qobqfuxq.png\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280\\\/#mainImage\",\"width\":1024,\"height\":1024},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2280#mainImage\"},\"datePublished\":\"2015-02-18T15:35:09+09:00\",\"dateModified\":\"2024-01-13T13:35:03+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"name\":\"\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Web\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2 \\\/ \\u30d7\\u30ed\\u30b0\\u30e9\\u30de\\u304c\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/2280","robots":"max-image-preview:large","keywords":"googlemap,\u4f4d\u7f6e\u60c5\u5831","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/2280#article","name":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"HTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png","width":1024,"height":1024},"datePublished":"2015-02-18T15:35:09+09:00","dateModified":"2024-01-13T13:35:03+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2280#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2280#webpage"},"articleSection":"Google Maps API, Google, HTML"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/2280#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/taitan916.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google#listItem","name":"Google"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google#listItem","position":2,"name":"Google","item":"https:\/\/taitan916.info\/blog\/archives\/category\/google","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api#listItem","name":"Google Maps API"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api#listItem","position":3,"name":"Google Maps API","item":"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/2280#listItem","name":"HTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google#listItem","name":"Google"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/2280#listItem","position":4,"name":"HTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api#listItem","name":"Google Maps API"}}]},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/#person","name":"taitan"},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author","url":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916","name":"taitan"},{"@type":"WebPage","@id":"https:\/\/taitan916.info\/blog\/archives\/2280#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/2280","name":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2280#breadcrumblist"},"author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"creator":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png","@id":"https:\/\/taitan916.info\/blog\/archives\/2280\/#mainImage","width":1024,"height":1024},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2280#mainImage"},"datePublished":"2015-02-18T15:35:09+09:00","dateModified":"2024-01-13T13:35:03+09:00"},{"@type":"WebSite","@id":"https:\/\/taitan916.info\/blog\/#website","url":"https:\/\/taitan916.info\/blog\/","name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Web\u30a8\u30f3\u30b8\u30cb\u30a2 \/ \u30d7\u30ed\u30b0\u30e9\u30de\u304c\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:type":"article","og:title":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/2280","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png","og:image:width":1024,"og:image:height":1024,"article:published_time":"2015-02-18T06:35:09+00:00","article:modified_time":"2024-01-13T04:35:03+00:00","twitter:card":"summary","twitter:title":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/06\/mzl.qobqfuxq.png"},"aioseo_meta_data":{"post_id":"2280","title":"HTML5\u306eGeolocationAPI\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | #site_title","description":"GPS\u307f\u305f\u3044\u306a\u4f4d\u7f6e\u60c5\u5831\u3092PHP\u3067\u53d6\u5f97\u3057\u3001GoogleMapAPI\u3067\u305d\u306e\u5834\u6240\u3092\u53cd\u6620\u3055\u305b\u305f\u304b\u3063\u305f\u3002\u8abf\u3079\u3066\u307f\u308b\u3068HTML5\u306eGeolocation API\u3068\u3044\u3046\u3082\u306e\u304c\u4f7f\u3048\u305d\u3046\u3002\u4ee5\u4e0b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30e1\u30e2\u3002","keywords":[{"label":"googlemap","value":"googlemap"},{"label":"\u4f4d\u7f6e\u60c5\u5831","value":"\u4f4d\u7f6e\u60c5\u5831"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-11 05:15:37","updated":"2025-12-18 06:36:53","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/google\" title=\"Google\">Google<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api\" title=\"Google Maps API\">Google Maps API<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog"},{"label":"Google","link":"https:\/\/taitan916.info\/blog\/archives\/category\/google"},{"label":"Google Maps API","link":"https:\/\/taitan916.info\/blog\/archives\/category\/google\/google-maps-api"},{"label":"HTML5\u306eGeolocation API\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066GoogleMapAPI\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","link":"https:\/\/taitan916.info\/blog\/archives\/2280"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=2280"}],"version-history":[{"count":0,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2280\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1423"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=2280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=2280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=2280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}