{"id":33,"date":"2018-02-17T13:09:06","date_gmt":"2018-02-17T13:09:06","guid":{"rendered":"https:\/\/preview.eagle-themes.com\/zante\/?page_id=33"},"modified":"2022-08-10T12:32:10","modified_gmt":"2022-08-10T00:32:10","slug":"location","status":"publish","type":"page","link":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/","title":{"rendered":"Location"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row_content&#8221;][vc_column width=&#8221;2\/3&#8243;]\r\n                \r\n        <style>\r\n        #map-canvas-3nA41 {\r\n            border: 1px solid #f2f2f2;\r\n            border-radius: 2px;\r\n            width: 100%;\r\n            height: 700px;\r\n        }\r\n\r\n        <\/style>\r\n\r\n        \r\n        <script>\r\n        jQuery(document).ready(function ($) {\r\n           jQuery(function($) {\r\n\r\n                function initialize() {\r\n                    var map;\r\n                    var panorama;\r\n                    var latitude = -37.788591746587095;\r\n                    var longitude = 175.2839008668582;\r\n                    var pin = 'https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-content\/uploads\/sites\/9\/2018\/07\/pin.png';\r\n\r\n                    \/\/Map pin-window details\r\n                    var title = \"VR Hamilton Hotel\";\r\n                    var hotel_name = \"VR Hamilton Hotel\";\r\n                    var hotel_address = \"237 Victoria Street, Hamilton, New Zealand 3204\";\r\n                    var hotel_desc = \"\";\r\n\r\n                    var hotel_location = new google.maps.LatLng(latitude, longitude);\r\n                    var mapOptions = {\r\n                        center: hotel_location,\r\n                        zoom: 14,\r\n                        scrollwheel: false,\r\n                        streetViewControl: false\r\n                    };\r\n                    map = new google.maps.Map(document.getElementById('map-canvas-3nA41'),\r\n                        mapOptions);\r\n                    var contentString =\r\n                        '<div id=\"infowindow_content\">' +\r\n                        '<p><strong>' + hotel_name + '<\/strong><br>' +\r\n                        hotel_address + '<br>' +\r\n                        hotel_desc + '<\/p>' +\r\n                        '<\/div>';\r\n\r\n                    var var_infowindow = new google.maps.InfoWindow({\r\n                        content: contentString\r\n                    });\r\n\r\n                    var marker = new google.maps.Marker({\r\n                        position: hotel_location,\r\n                        map: map,\r\n                        icon: pin,\r\n                        title: title,\r\n                        maxWidth: 100,\r\n                        optimized: false,\r\n                    });\r\n                    google.maps.event.addListener(marker, 'click', function () {\r\n                        var_infowindow.open(map, marker);\r\n                    });\r\n                    panorama = map.getStreetView();\r\n                    panorama.setPosition(hotel_location);\r\n                    panorama.setPov( \/** @type {google.maps.StreetViewPov} *\/ ({\r\n                        heading: 265,\r\n                        pitch: 0\r\n                    }));\r\n\r\n                    var openStreet = document.getElementById('openStreetView');\r\n                    if (openStreet) {\r\n                        document.getElementById(\"openStreetView\").onclick = function () {\r\n                            toggleStreetView()\r\n                        };\r\n                    }\r\n\r\n                    function toggleStreetView() {\r\n                        var toggle = panorama.getVisible();\r\n                        if (toggle == false) {\r\n                            panorama.setVisible(true);\r\n                        } else {\r\n                            panorama.setVisible(false);\r\n                        }\r\n                    }\r\n                }\r\n\r\n                \/\/Check if google map div exist\r\n                if ($(\"#map-canvas-3nA41\").length){\r\n                   google.maps.event.addDomListener(window, 'load', initialize);\r\n                }\r\n\r\n                });\r\n                });\r\n\r\n                <\/script>\r\n\r\n                \r\n                <div class=\"google-map\">\r\n                                    <div class=\"toggle-streetview\" id=\"openStreetView\"><i class=\"fa fa-street-view\" aria-hidden=\"true\"><\/i><\/div>\r\n                                    <div id=\"map-canvas-3nA41\"><\/div>\r\n                <\/div>\r\n\r\n\r\n        [vc_empty_space][\/vc_column][vc_column width=&#8221;1\/3&#8243;][vc_column_text]<\/p>\n<h2>VR Hamilton<\/h2>\n<p>We are ready to look after your needs at VR Hamilton. Please do not hesitate to contact us should you require any additional information.<\/p>\n<p><strong>VR Hamilton (formerly known as Hamilton City Oaks) <\/strong><br \/>\n237 Victoria Street<br \/>\nHamilton CBD<\/p>\n<p>Phone: +647 839 1994<br \/>\nFax: +647 839 7994<br \/>\nEmail: <a href=\"mailto:hco.reservations@vrhotels.co.nz\">hco.reservations@vrhotels.co.nz<\/a>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row_content&#8221;][vc_column width=&#8221;2\/3&#8243;][vc_empty_space][\/vc_column][vc_column width=&#8221;1\/3&#8243;][vc_column_text] VR Hamilton We are ready to look after your needs at VR Hamilton. Please do not hesitate to contact us should you require any additional information. VR Hamilton (formerly known as Hamilton City Oaks) 237 Victoria Street Hamilton CBD Phone: +647 839 1994 Fax: +647 839 7994 Email: hco.reservations@vrhotels.co.nz[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.0 (Yoast SEO v18.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Location - VR Hamilton<\/title>\n<meta name=\"description\" content=\"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Location\" \/>\n<meta property=\"og:description\" content=\"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/\" \/>\n<meta property=\"og:site_name\" content=\"VR Hamilton\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-10T00:32:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/#website\",\"url\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/\",\"name\":\"VR Hamilton\",\"description\":\"VR Hotels and Resorts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#webpage\",\"url\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/\",\"name\":\"Location - VR Hamilton\",\"isPartOf\":{\"@id\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/#website\"},\"datePublished\":\"2018-02-17T13:09:06+00:00\",\"dateModified\":\"2022-08-10T00:32:10+00:00\",\"description\":\"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.\",\"breadcrumb\":{\"@id\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vrhotels.co.nz\/vr-hamilton\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Location\"}]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Location - VR Hamilton","description":"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/","og_locale":"en_US","og_type":"article","og_title":"Location","og_description":"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.","og_url":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/","og_site_name":"VR Hamilton","article_modified_time":"2022-08-10T00:32:10+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/vrhotels.co.nz\/vr-hamilton\/#website","url":"https:\/\/vrhotels.co.nz\/vr-hamilton\/","name":"VR Hamilton","description":"VR Hotels and Resorts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vrhotels.co.nz\/vr-hamilton\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#webpage","url":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/","name":"Location - VR Hamilton","isPartOf":{"@id":"https:\/\/vrhotels.co.nz\/vr-hamilton\/#website"},"datePublished":"2018-02-17T13:09:06+00:00","dateModified":"2022-08-10T00:32:10+00:00","description":"At VR Hamilton, we are prepared to meet your needs. If you require any additional information, please do not hesitate to contact us.","breadcrumb":{"@id":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vrhotels.co.nz\/vr-hamilton\/location\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vrhotels.co.nz\/vr-hamilton\/"},{"@type":"ListItem","position":2,"name":"Location"}]}]}},"_links":{"self":[{"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/pages\/33"}],"collection":[{"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/pages\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/vrhotels.co.nz\/vr-hamilton\/wp-json\/wp\/v2\/media?parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}