{"id":838,"date":"2017-02-06T04:02:00","date_gmt":"2017-02-06T04:02:00","guid":{"rendered":"http:\/\/biim.ci\/?page_id=838"},"modified":"2017-02-06T04:02:00","modified_gmt":"2017-02-06T04:02:00","slug":"google-map","status":"publish","type":"page","link":"https:\/\/biim.ci\/en\/google-map\/","title":{"rendered":"Google Map"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div data-vc-full-width=\"true\" data-vc-full-width-init=\"false\" data-vc-stretch-content=\"true\" class=\"vc_row wpb_row vc_row-fluid vc_row-no-padding\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div id=\"map-6a3c2aefa3703\"\n     class=\"g5plus-google-map\" style=\"height: 545px\">\n<\/div>\n<script>\n    jQuery(document).ready(function() {\n        var bounds = new google.maps.LatLngBounds();\n        var mapStyle  = '';\n                mapStyle = [{\n            \"featureType\": \"landscape\",\n            \"stylers\": [{\"saturation\": -100}, {\"lightness\": 65}, {\"visibility\": \"on\"}]\n        }, {\n            \"featureType\": \"poi\",\n            \"stylers\": [{\"saturation\": -100}, {\"lightness\": 51}, {\"visibility\": \"simplified\"}]\n        }, {\n            \"featureType\": \"road.highway\",\n            \"stylers\": [{\"saturation\": -100}, {\"visibility\": \"simplified\"}]\n        }, {\n            \"featureType\": \"road.arterial\",\n            \"stylers\": [{\"saturation\": -100}, {\"lightness\": 30}, {\"visibility\": \"on\"}]\n        }, {\n            \"featureType\": \"road.local\",\n            \"stylers\": [{\"saturation\": -100}, {\"lightness\": 40}, {\"visibility\": \"on\"}]\n        }, {\n            \"featureType\": \"transit\",\n            \"stylers\": [{\"saturation\": -100}, {\"visibility\": \"simplified\"}]\n        }, {\"featureType\": \"administrative.province\", \"stylers\": [{\"visibility\": \"off\"}]}, {\n            \"featureType\": \"water\",\n            \"elementType\": \"labels\",\n            \"stylers\": [{\"visibility\": \"on\"}, {\"lightness\": -25}, {\"saturation\": -100}]\n        }, {\n            \"featureType\": \"water\",\n            \"elementType\": \"geometry\",\n            \"stylers\": [{\"hue\": \"#ffff00\"}, {\"lightness\": -25}, {\"saturation\": -97}]\n        }];\n                var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n        var isDraggable = w > 1024 ? true : false;\n        var mapOptions = {\n            mapTypeId: 'roadmap',\n            styles: mapStyle,\n            draggable: isDraggable,\n            scrollwheel: false,\n            fullscreenControl: true,\n        };\n        var map = new google.maps.Map(document.getElementById(\"map-6a3c2aefa3703\"), mapOptions);\n        var markers = [\n            [\"Manchester City\",\"\", 53.4795447,-2.2441642,\"https:\/\/biim.ci\/wp-content\/uploads\/2016\/12\/icon.png\"]];\n        var infoWindow = new google.maps.InfoWindow(), marker, i;\n        for( i = 0; i < markers.length; i++ ) {\n            var position = new google.maps.LatLng(markers[i][2], markers[i][3]);\n            bounds.extend(position);\n            marker = new google.maps.Marker({\n                position: position,\n                map: map,\n                title: markers[i][0],\n                icon: markers[i][4],\n                animation: google.maps.Animation.DROP\n            });\n            google.maps.event.addListener(marker, 'click', (function(marker, i) {\n                return function() {\n                    infoWindow.setContent('<h6>'+ markers[i][0]+'<\/h6><div>'+ markers[i][1]+'<\/div>');\n                    infoWindow.open(map, marker);\n                    if (marker.getAnimation() !== null) {\n                        marker.setAnimation(null);\n                    } else {\n                        marker.setAnimation(google.maps.Animation.BOUNCE);\n                    }\n                };\n            })(marker, i));\n            map.fitBounds(bounds);\n        }\n        var boundsListener = google.maps.event.addListener((map), 'bounds_changed', function(event) {\n            this.setZoom(map.getZoom()-1);\n            if (this.getZoom() > 15) {\n                this.setZoom(15);\n            }\n            google.maps.event.removeListener(boundsListener);\n        });\n    });\n<\/script>\n<\/div><\/div><\/div><\/div><div class=\"vc_row-full-width vc_clearfix\"><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-838","page","type-page","status-publish","hentry"],"jetpack-related-posts":[{"id":1077,"url":"https:\/\/biim.ci\/en\/charts\/","url_meta":{"origin":838,"position":0},"title":"Charts","author":"biimadmin","date":"02\/16\/2017","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1057,"url":"https:\/\/biim.ci\/en\/pricing-table\/","url_meta":{"origin":838,"position":1},"title":"Pricing Table","author":"biimadmin","date":"02\/15\/2017","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":855,"url":"https:\/\/biim.ci\/en\/testimonials\/","url_meta":{"origin":838,"position":2},"title":"Testimonials","author":"biimadmin","date":"02\/06\/2017","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":177,"url":"https:\/\/biim.ci\/en\/contact\/","url_meta":{"origin":838,"position":3},"title":"Contact","author":"biimadmin","date":"12\/02\/2016","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":56,"url":"https:\/\/biim.ci\/en\/annonceurs\/","url_meta":{"origin":838,"position":4},"title":"BIIM, you are seen!","author":"biimadmin","date":"11\/30\/2016","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":58,"url":"https:\/\/biim.ci\/en\/accueil\/","url_meta":{"origin":838,"position":5},"title":"Accueil","author":"biimadmin","date":"12\/01\/2016","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/pages\/838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/comments?post=838"}],"version-history":[{"count":0,"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/pages\/838\/revisions"}],"wp:attachment":[{"href":"https:\/\/biim.ci\/en\/wp-json\/wp\/v2\/media?parent=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}