{"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":"2021-10-04T03:53:16","modified_gmt":"2021-10-04T03:53:16","slug":"location","status":"publish","type":"page","link":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/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-yWRg5 {\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 = -36.85228926219608;\r\n                    var longitude = 174.75977373347044;\r\n                    var pin = 'https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-content\/uploads\/sites\/4\/2018\/07\/pin.png';\r\n\r\n                    \/\/Map pin-window details\r\n                    var title = \"VR Auckland City\";\r\n                    var hotel_name = \"VR Auckland City\";\r\n                    var hotel_address = \"188 Hobson Street, Auckland CBD, Auckland 1010\";\r\n                    var hotel_desc = \"4 Star Luxury Hotel\";\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-yWRg5'),\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-yWRg5\").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-yWRg5\"><\/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 Auckland City<\/h2>\n<p>We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.<\/p>\n<p><strong>VR Auckland City<\/strong><br \/>\n188 Hobson Street<br \/>\nAuckland 1010<br \/>\nNew Zealand<\/p>\n<p>Phone: +649 337 5800<br \/>\nFax: +649 337 5900<br \/>\nEmail:\u00a0<a href=\"mailto:aco.reservations@vrhotels.co.nz\">aco.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 Auckland City We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information. VR Auckland City 188 Hobson Street Auckland 1010 New Zealand Phone: +649 337 5800 Fax: +649 337 5900 Email:\u00a0aco.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 Auckland City<\/title>\n<meta name=\"description\" content=\"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.\" \/>\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-auckland-city\/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=\"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/\" \/>\n<meta property=\"og:site_name\" content=\"VR Auckland City\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-04T03:53:16+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-auckland-city\/#website\",\"url\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/\",\"name\":\"VR Auckland City\",\"description\":\"VR Hotels and Resorts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#webpage\",\"url\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/\",\"name\":\"Location - VR Auckland City\",\"isPartOf\":{\"@id\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/#website\"},\"datePublished\":\"2018-02-17T13:09:06+00:00\",\"dateModified\":\"2021-10-04T03:53:16+00:00\",\"description\":\"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.\",\"breadcrumb\":{\"@id\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vrhotels.co.nz\/vr-auckland-city\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Location\"}]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Location - VR Auckland City","description":"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.","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-auckland-city\/location\/","og_locale":"en_US","og_type":"article","og_title":"Location","og_description":"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.","og_url":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/","og_site_name":"VR Auckland City","article_modified_time":"2021-10-04T03:53:16+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-auckland-city\/#website","url":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/","name":"VR Auckland City","description":"VR Hotels and Resorts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#webpage","url":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/","name":"Location - VR Auckland City","isPartOf":{"@id":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/#website"},"datePublished":"2018-02-17T13:09:06+00:00","dateModified":"2021-10-04T03:53:16+00:00","description":"We are ready to look after your needs at VR Auckland City. Please do not hesitate to contact us should you require any additional information.","breadcrumb":{"@id":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/location\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/"},{"@type":"ListItem","position":2,"name":"Location"}]}]}},"_links":{"self":[{"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/pages\/33"}],"collection":[{"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/pages\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/vrhotels.co.nz\/vr-auckland-city\/wp-json\/wp\/v2\/media?parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}