{"id":3939,"date":"2017-01-15T21:03:20","date_gmt":"2017-01-15T21:03:20","guid":{"rendered":"http:\/\/zoutula.com\/themes\/enfant\/?page_id=3939"},"modified":"2017-01-15T21:03:20","modified_gmt":"2017-01-15T21:03:20","slug":"test","status":"publish","type":"page","link":"https:\/\/andreeapena.ro\/index.php\/test\/","title":{"rendered":"Test"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column]\r\n        <div class=\"ztl_map_canvas\" id=\"ztl_map_6aeea8d39569d\"\r\n             style=\"height:400px; width:100%;\"><\/div>\r\n             \r\n        \r\n            <script type=\"text\/javascript\">\r\n\t\t\t(function($){\r\n                \"use strict\";\r\n                var map;\r\n                var mapId = \"ztl_map_6aeea8d39569d\";\r\n                \r\n                function initialize() {\r\n\t\t    \t\tvar featureOpts = [{\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"simplified\"},{\"color\":\"#ffdc69\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#FFFFFF\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#6c97b2\"}]},{\"featureType\":\"poi\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#545454\"}]},{\"featureType\":\"water\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape.man_made\",\"stylers\":[{\"color\":\"#F5F5F5\"}]},{\"featureType\":\"landscape.natural\",\"stylers\":[{\"color\":\"#F5F5F5\"}]},{\"featureType\":\"poi\",\"stylers\":[{\"color\":\"#E8E8E8\"}]}];\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\t\tzoom: 16,\r\n                        center: new google.maps.LatLng(53.491782, -2.265462),\r\n                        mapTypeId: mapId,\r\n                        streetViewControl: false,\r\n                        mapTypeControl: false,\r\n                        panControl: false,\r\n                        zoomControl: 1,\r\n                        scrollwheel: 0,\r\n                        draggable:false,\r\n                    };\r\n                    \r\n                    map = new google.maps.Map(document.getElementById(\"ztl_map_6aeea8d39569d\"), mapOptions);\r\n                    var customMapType = new google.maps.StyledMapType(featureOpts);\r\n                    map.mapTypes.set(mapId, customMapType);\r\n                   \r\n                    \r\n                    var image = {\r\n                        url: \"https:\/\/andreeapena.ro\/wp-content\/uploads\/2017\/01\/pin_music_school_7.png\",\r\n                        \/\/ This marker is 64 pixels wide by 64 pixels high.\r\n                        scaledSize: new google.maps.Size(128, 128),\r\n                        \/\/ The origin for this image is (0, 0).\r\n                        origin: new google.maps.Point(0, 0),\r\n                        \/\/ The anchor for this image is the base of the flagpole at (0, 32).\r\n                        anchor: new google.maps.Point(64, 64)\r\n                      };\r\n                    \r\n                    \/\/add custom marker\r\n                    var marker = new google.maps.Marker({\r\n                        position: map.getCenter(),\r\n                        map: map,\r\n                        icon: image\r\n                    });\r\n                    \r\n               \r\n                    \r\n                    google.maps.event.addDomListener(window, \"resize\", function() {\r\n                        map.setCenter(mapOptions.center);\r\n                    });\r\n                    \r\n                    }\r\n                    \/\/document ready\r\n                    $(function() {\r\n                        google.maps.event.addDomListener(window, \"load\", initialize);\r\n                    });\r\n                \r\n                }(jQuery));\r\n                <\/script>[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column][\/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":{"footnotes":""},"class_list":["post-3939","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/pages\/3939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/comments?post=3939"}],"version-history":[{"count":0,"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/pages\/3939\/revisions"}],"wp:attachment":[{"href":"https:\/\/andreeapena.ro\/index.php\/wp-json\/wp\/v2\/media?parent=3939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}