{"id":18,"date":"2020-06-25T19:50:06","date_gmt":"2020-06-25T19:50:06","guid":{"rendered":"https:\/\/dev.orbicular.media\/rivcem\/?page_id=18"},"modified":"2020-08-13T01:10:25","modified_gmt":"2020-08-13T01:10:25","slug":"cemetery-map","status":"publish","type":"page","link":"https:\/\/dev.orbicular.media\/rivcem\/cemetery-map\/","title":{"rendered":"Cemetery Map"},"content":{"rendered":"<section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Riverside Cemetery is composed of two main sections, Main Gate and North Gate. These sections are separated by Interstate 75. Both Main Gate and North Gate are divided into smaller sections called blocks. Within the blocks are rows and sections. Individual lots are located within the rows and sections. Lots can be made up of single or multiple graves.<\/p>\n<\/div><\/div><style>\n\tgmp-map {\n\t\theight: 400px;\n\t\twidth: 100%;\n\t\tmargin: 0 0 35px 0;\n\t}\n<\/style>\n\n<!--The element for the map -->\n<gmp-map center=\"32.78063585961151,-83.53797912597656\" zoom=\"12\" map-id=\"Cemetery_Map\">\n<\/gmp-map>\n\n<script>\n\tasync function initCemeteryMap() {\n\t\t\/\/ Request the needed libraries.\n\t\tconst { Map } = await google.maps.importLibrary('maps');\n\n\t\tvar aerialTileUrl  = 'https:\/\/gmap.riversidecemetery.com\/aerial\/';\n\t\tvar sectionTileUrl = 'https:\/\/gmap.riversidecemetery.com\/sections\/';\n\t\tvar CenterLat      = 32.78063585961151;\n\t\tvar CenterLng      = -83.53797912597656;\n\t\tvar initialCenter  = { lat: CenterLat, lng: CenterLng };\n\n\t\t\/\/ Get the gmp-map element and its inner map.\n\t\tconst mapElement = document.querySelector('gmp-map');\n\t\tconst innerMap   = mapElement.innerMap;\n\n\t\t\/\/ Set map options.\n\t\tinnerMap.setOptions({\n\t\t\tcenter: initialCenter,\n\t\t\tzoom: 12,\n\t\t\tdisableDefaultUI: true,\n\t\t\tmapTypeId: 'section',\n\t\t\tmapTypeControl: true,\n\t\t\tfullscreenControl: true,\n\t\t\tscaleControl: true,\n\t\t\tzoomControl: true,\n\t\t\tmapTypeControlOptions: {\n\t\t\t\tmapTypeIds: ['aerial', 'section'],\n\t\t\t},\n\t\t});\n\n\t\t\/\/ Aerial custom map type.\n\t\tlet aerialMapType = new google.maps.ImageMapType({\n\t\t\tgetTileUrl: function(coord, zoom) {\n\t\t\t\treturn aerialTileUrl + zoom + '_' + coord.x + '_' + coord.y + '.jpg';\n\t\t\t},\n\t\t\ttileSize: new google.maps.Size(256, 256),\n\t\t\tminZoom: 12,\n\t\t\tmaxZoom: 17,\n\t\t\tname: 'Aerial',\n\t\t});\n\t\tinnerMap.mapTypes.set('aerial', aerialMapType);\n\n\t\t\/\/ Section custom map type.\n\t\tlet sectionMapType = new google.maps.ImageMapType({\n\t\t\tgetTileUrl: function(coord, zoom) {\n\t\t\t\treturn sectionTileUrl + zoom + '_' + coord.x + '_' + coord.y + '.png';\n\t\t\t},\n\t\t\ttileSize: new google.maps.Size(256, 256),\n\t\t\tminZoom: 12,\n\t\t\tmaxZoom: 17,\n\t\t\tisPng: true,\n\t\t\tname: 'Sections',\n\t\t});\n\t\tinnerMap.mapTypes.set('section', sectionMapType);\n\t\tinnerMap.overlayMapTypes.push(sectionMapType);\n\t}\n\tinitCemeteryMap();\n<\/script>\n\n<script>\n\t(g=>{var h,a,k,p=\"The Google Maps JavaScript API\",c=\"google\",l=\"importLibrary\",q=\"__ib__\",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement(\"script\"));e.set(\"libraries\",[...r]+\"\");for(k in g)e.set(k.replace(\/[A-Z]\/g,t=>\"_\"+t[0].toLowerCase()),g[k]);e.set(\"callback\",c+\".maps.\"+q);a.src=`https:\/\/maps.${c}apis.com\/maps\/api\/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+\" could not load.\"));a.nonce=m.querySelector(\"script[nonce]\")?.nonce||\"\";m.head.append(a)}));d[l]?console.warn(p+\" only loads once. Ignoring:\",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({\n\t\tkey: \"AIzaSyBPtrHlE7FnFaDw4On3uHr-PZIQwAMTuMU\",\n\t\tv: \"weekly\",\n\t\tlibraries: \"marker\",\n\t});\n<\/script>\n<div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Please note, this map is not used to show the availability of lots; it is for locating purposes only.<\/p>\n<h3>How To Use The Map<\/h3>\n<p>The sectional map uses Google Map\u2019s basic structure. Map controls are located on the top left and top right corners.<\/p>\n<p>To change the type of map you are viewing, click one of the options in the top right corner.<\/p>\n<p>To pan around the map, click and hold your left mouse button, then drag. To zoom into the map, use the mouse scroll wheel.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Riverside Cemetery is composed of two main sections, Main Gate and North Gate. These sections are separated by Interstate 75. Both Main Gate and North Gate are divided into smaller sections called blocks. Within the blocks are rows and sections. Individual lots are located within the rows and sections. Lots can be made up of...","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":"","_wp_rev_ctl_limit":""},"class_list":["post-18","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/pages\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":2,"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/pages\/18\/revisions"}],"predecessor-version":[{"id":3536,"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/pages\/18\/revisions\/3536"}],"wp:attachment":[{"href":"https:\/\/dev.orbicular.media\/rivcem\/wp-json\/wp\/v2\/media?parent=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}