{"id":349,"date":"2014-10-08T12:47:43","date_gmt":"2014-10-08T12:47:43","guid":{"rendered":"http:\/\/myuniversity.skat.tf\/?page_id=349"},"modified":"2014-10-08T12:47:43","modified_gmt":"2014-10-08T12:47:43","slug":"google-maps","status":"publish","type":"page","link":"https:\/\/peintresdupatrimoine.com\/en\/google-maps\/","title":{"rendered":"Google Maps"},"content":{"rendered":"<div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"container\"><div class=\"sd-centered-wrapper\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"vc_empty_space\"   style=\"height: 80px\"><span class=\"vc_empty_space_inner\"><\/span><\/div><div class=\"vc_row wpb_row vc_inner vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-4\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div id=\"map54\" style=\"width:400px;height:300px;\" class=\"google_map\"><\/div>\r\n\t\r\n\t<script type=\"text\/javascript\">\r\n\r\n\t\tvar latlng = new google.maps.LatLng(0, 0);\r\n\t\tvar myOptions = {\r\n\t\t\tzoom: 15,\r\n\t\t\tcenter: latlng,\r\n\t\t\tscrollwheel: true,\r\n\t\t\tscaleControl: false,\r\n\t\t\tdisableDefaultUI: false,\r\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP,\r\n\t\t\tstyles: [{stylers:[{saturation:-100},{gamma:1}]},{elementType:\"labels.text.stroke\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"road\",elementType:\"geometry\",stylers:[{visibility:\"simplified\"}]},{featureType:\"water\",stylers:[{visibility:\"on\"},{saturation:50},{gamma:0},{hue:\"#50a5d1\"}]},{featureType:\"administrative.neighborhood\",elementType:\"labels.text.fill\",stylers:[{color:\"#333333\"}]},{featureType:\"road.local\",elementType:\"labels.text\",stylers:[{weight:0.5},{color:\"#333333\"}]},{featureType:\"transit.station\",elementType:\"labels.icon\",stylers:[{gamma:1},{saturation:50}]}]\r\n\t\t};\r\n\t\tvar map54 = new google.maps.Map(document.getElementById(\"map54\"),\r\n\t\tmyOptions);\r\n\t\t\r\n\t\tgoogle.maps.event.addDomListener(window, \"resize\", function() {\r\n    var center = map54.getCenter();\r\n    google.maps.event.trigger(map54, \"resize\");\r\n    map54.setCenter(center);\r\n\t});\r\n\t\r\n\t\t    var geocoder_map54 = new google.maps.Geocoder();\r\n\t\t\tvar address = 'Athens, Greece';\r\n\t\t\tgeocoder_map54.geocode( { 'address': address}, function(results, status) {\r\n\t\t\t\tif (status == google.maps.GeocoderStatus.OK) {\r\n\t\t\t\t\tmap54.setCenter(results[0].geometry.location);\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tvar marker = new google.maps.Marker({\r\n\t\t\t\t\t\t\tmap: map54, \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tposition: map54.getCenter()\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvar contentString = 'Home Sweet Home';\r\n\t\t\t\t\t\t\tvar infowindow = new google.maps.InfoWindow({\r\n\t\t\t\t\t\t\t\tcontent: contentString\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function() {\r\n\t\t\t\t\t\t\t  infowindow.open(map54,marker);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tinfowindow.open(map54,marker);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\t\t\t\talert(\"Geocode was not successful for the following reason: \" + status);\r\n\t\t\t}\r\n\t\t\t});\r\n\t\t<\/script><\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-4\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div id=\"map123\" style=\"width:400px;height:300px;\" class=\"google_map\"><\/div>\r\n\t\r\n\t<script type=\"text\/javascript\">\r\n\r\n\t\tvar latlng = new google.maps.LatLng(0, 0);\r\n\t\tvar myOptions = {\r\n\t\t\tzoom: 13,\r\n\t\t\tcenter: latlng,\r\n\t\t\tscrollwheel: true,\r\n\t\t\tscaleControl: false,\r\n\t\t\tdisableDefaultUI: false,\r\n\t\t\tmapTypeId: google.maps.MapTypeId.HYBRID,\r\n\t\t\tstyles: [{stylers:[{saturation:-100},{gamma:1}]},{elementType:\"labels.text.stroke\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"road\",elementType:\"geometry\",stylers:[{visibility:\"simplified\"}]},{featureType:\"water\",stylers:[{visibility:\"on\"},{saturation:50},{gamma:0},{hue:\"#50a5d1\"}]},{featureType:\"administrative.neighborhood\",elementType:\"labels.text.fill\",stylers:[{color:\"#333333\"}]},{featureType:\"road.local\",elementType:\"labels.text\",stylers:[{weight:0.5},{color:\"#333333\"}]},{featureType:\"transit.station\",elementType:\"labels.icon\",stylers:[{gamma:1},{saturation:50}]}]\r\n\t\t};\r\n\t\tvar map123 = new google.maps.Map(document.getElementById(\"map123\"),\r\n\t\tmyOptions);\r\n\t\t\r\n\t\tgoogle.maps.event.addDomListener(window, \"resize\", function() {\r\n    var center = map123.getCenter();\r\n    google.maps.event.trigger(map123, \"resize\");\r\n    map123.setCenter(center);\r\n\t});\r\n\t\r\n\t\t    var geocoder_map123 = new google.maps.Geocoder();\r\n\t\t\tvar address = 'Munich, Germany';\r\n\t\t\tgeocoder_map123.geocode( { 'address': address}, function(results, status) {\r\n\t\t\t\tif (status == google.maps.GeocoderStatus.OK) {\r\n\t\t\t\t\tmap123.setCenter(results[0].geometry.location);\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tvar marker = new google.maps.Marker({\r\n\t\t\t\t\t\t\tmap: map123, \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tposition: map123.getCenter()\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvar contentString = 'Home Sweet Home';\r\n\t\t\t\t\t\t\tvar infowindow = new google.maps.InfoWindow({\r\n\t\t\t\t\t\t\t\tcontent: contentString\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function() {\r\n\t\t\t\t\t\t\t  infowindow.open(map123,marker);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tinfowindow.open(map123,marker);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\t\t\t\talert(\"Geocode was not successful for the following reason: \" + status);\r\n\t\t\t}\r\n\t\t\t});\r\n\t\t<\/script><\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-4\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div id=\"map1234\" style=\"width:400px;height:300px;\" class=\"google_map\"><\/div>\r\n\t\r\n\t<script type=\"text\/javascript\">\r\n\r\n\t\tvar latlng = new google.maps.LatLng(0, 0);\r\n\t\tvar myOptions = {\r\n\t\t\tzoom: 11,\r\n\t\t\tcenter: latlng,\r\n\t\t\tscrollwheel: false,\r\n\t\t\tscaleControl: false,\r\n\t\t\tdisableDefaultUI: true,\r\n\t\t\tmapTypeId: google.maps.MapTypeId.SATELLITE,\r\n\t\t\tstyles: [{stylers:[{saturation:-100},{gamma:1}]},{elementType:\"labels.text.stroke\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"road\",elementType:\"geometry\",stylers:[{visibility:\"simplified\"}]},{featureType:\"water\",stylers:[{visibility:\"on\"},{saturation:50},{gamma:0},{hue:\"#50a5d1\"}]},{featureType:\"administrative.neighborhood\",elementType:\"labels.text.fill\",stylers:[{color:\"#333333\"}]},{featureType:\"road.local\",elementType:\"labels.text\",stylers:[{weight:0.5},{color:\"#333333\"}]},{featureType:\"transit.station\",elementType:\"labels.icon\",stylers:[{gamma:1},{saturation:50}]}]\r\n\t\t};\r\n\t\tvar map1234 = new google.maps.Map(document.getElementById(\"map1234\"),\r\n\t\tmyOptions);\r\n\t\t\r\n\t\tgoogle.maps.event.addDomListener(window, \"resize\", function() {\r\n    var center = map1234.getCenter();\r\n    google.maps.event.trigger(map1234, \"resize\");\r\n    map1234.setCenter(center);\r\n\t});\r\n\t\r\n\t\t\tvar trafficLayer = new google.maps.TrafficLayer();\r\n\t\t\ttrafficLayer.setMap(map1234);\r\n\t\t\t\r\n\t\t    var geocoder_map1234 = new google.maps.Geocoder();\r\n\t\t\tvar address = 'Munich, Germany';\r\n\t\t\tgeocoder_map1234.geocode( { 'address': address}, function(results, status) {\r\n\t\t\t\tif (status == google.maps.GeocoderStatus.OK) {\r\n\t\t\t\t\tmap1234.setCenter(results[0].geometry.location);\r\n\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\t\t\t\talert(\"Geocode was not successful for the following reason: \" + status);\r\n\t\t\t}\r\n\t\t\t});\r\n\t\t<\/script><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div id=\"map342\" style=\"width:100%;height:600px;\" class=\"google_map\"><\/div>\r\n\t\r\n\t<script type=\"text\/javascript\">\r\n\r\n\t\tvar latlng = new google.maps.LatLng(0, 0);\r\n\t\tvar myOptions = {\r\n\t\t\tzoom: 15,\r\n\t\t\tcenter: latlng,\r\n\t\t\tscrollwheel: false,\r\n\t\t\tscaleControl: false,\r\n\t\t\tdisableDefaultUI: true,\r\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP,\r\n\t\t\tstyles: [{stylers:[{saturation:-100},{gamma:1}]},{elementType:\"labels.text.stroke\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.text\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.place_of_worship\",elementType:\"labels.icon\",stylers:[{visibility:\"off\"}]},{featureType:\"road\",elementType:\"geometry\",stylers:[{visibility:\"simplified\"}]},{featureType:\"water\",stylers:[{visibility:\"on\"},{saturation:50},{gamma:0},{hue:\"#50a5d1\"}]},{featureType:\"administrative.neighborhood\",elementType:\"labels.text.fill\",stylers:[{color:\"#333333\"}]},{featureType:\"road.local\",elementType:\"labels.text\",stylers:[{weight:0.5},{color:\"#333333\"}]},{featureType:\"transit.station\",elementType:\"labels.icon\",stylers:[{gamma:1},{saturation:50}]}]\r\n\t\t};\r\n\t\tvar map342 = new google.maps.Map(document.getElementById(\"map342\"),\r\n\t\tmyOptions);\r\n\t\t\r\n\t\tgoogle.maps.event.addDomListener(window, \"resize\", function() {\r\n    var center = map342.getCenter();\r\n    google.maps.event.trigger(map342, \"resize\");\r\n    map342.setCenter(center);\r\n\t});\r\n\t\r\n\t\t\tvar trafficLayer = new google.maps.TrafficLayer();\r\n\t\t\ttrafficLayer.setMap(map342);\r\n\t\t\t\r\n\t\t    var geocoder_map342 = new google.maps.Geocoder();\r\n\t\t\tvar address = 'Miami, Florida';\r\n\t\t\tgeocoder_map342.geocode( { 'address': address}, function(results, status) {\r\n\t\t\t\tif (status == google.maps.GeocoderStatus.OK) {\r\n\t\t\t\t\tmap342.setCenter(results[0].geometry.location);\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tvar marker = new google.maps.Marker({\r\n\t\t\t\t\t\t\tmap: map342, \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tposition: map342.getCenter()\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\t\t\t\talert(\"Geocode was not successful for the following reason: \" + status);\r\n\t\t\t}\r\n\t\t\t});\r\n\t\t<\/script><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"more-link\" href=\"https:\/\/peintresdupatrimoine.com\/en\/google-maps\/#more-349\">Read More<\/a><\/p>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"full-width-page.php","meta":{"footnotes":""},"class_list":["post-349","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/pages\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":0,"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/pages\/349\/revisions"}],"wp:attachment":[{"href":"https:\/\/peintresdupatrimoine.com\/en\/wp-json\/wp\/v2\/media?parent=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}