PageSourceSearch

https://towafood-job.net/jobfind-pc/original/css/option/gmap/addin_gmap.js

js towafood-job.net collected 2026-10-07 17:53:29 UTC 1,275 bytes, 38 lines download raw bytes

1/*==============================================================================
2【addin_gmap.js】
3 原稿詳細ページにgooglemapを設置するJS
4 2018/06/06:ver1.30 ジオコーディング処理廃止
5/*==============================================================================*/
6
7var
8$pURL=location.pathname;
9
10var
11$url ="",
12$src = $("#js_gmap").attr("src"),
13$split= $src.split("/");
14for(var i=0;i<$split.length-1;i++){
15	$url+=$split[i]+"/";
16}
17var $source = $url;
18
19var
20$lat=$("#js_gmap").attr("data-lat"),//緯度
21$lon=$("#js_gmap").attr("data-lon"),//経度
22$bln=Boolean($pURL.match("/job/") && !($pURL.match("/map")));
23
24if(($lat==="" || $lon==="") || ($lat==="0" && $lon==="0")){
25	//住所テキストで座標取得
26	console.log("【注意】座標データが取得できませんでした。");
27	$bln=false;
28}
29var
30$api=$("#js_gmap").attr("data-api");
31if($bln){
32	document.write(
33	'<script src="//maps.googleapis.com/maps/api/js?key='+$api+'&language=ja&region=JP" async defer type="text/javascript" ></script>'+
34	'<script src="'+$source+'gmap_noEdit.js" defer type="text/javascript" ></script>'+
35	'<link href="'+$source+'gmap_noEdit.css" rel="stylesheet" type="text/css">'+
36	'<link href="'+$source+'gmap_setting.css" rel="stylesheet" type="text/css">'
37	);
38}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.