Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>KOI's Location</title>
- <link href="https://www.dropbox.com/s/r2cv8njird0d1dt/bootstrap.min.css?raw=1" rel="stylesheet">
- <style>
- @font_face{
- font-family: Helvetica;
- src: url(https://www.dropbox.com/s/fpy3chz65pvmduq/HelveticaNeueThn.ttf?raw=1);
- }
- html, body, #map-canvas {
- height: 100%;
- margin: 0px;
- padding: 0px;
- font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- }
- #map-canvas,.border{
- border: 1px solid;
- border-radius: 2px;
- border-left-color: rgb(223,224,228);
- border-right-color: rgb(223,224,228);
- border-top-color: rgb(229,230,233);
- border-bottom-color: rgb(208,209,213);
- }
- .border{
- background-color: #ffffff;
- }
- body{
- background-color: #e9eaed;
- }
- .row{
- margin-top:10px;
- margin-bottom: 10px;
- }
- img{
- padding: 15px;
- border-radius: 5px;
- }
- p{
- line-height:7px;
- }
- .col-sm-6{
- padding-right: 0px;
- }
- h3,strong{
- font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- font-size:16px;
- }
- li{
- padding-bottom: 10px;
- font-size: 12px;
- }
- .address{
- width:30%;
- }
- .map,.image{
- width: 35%;
- }
- iframe{
- padding-top:15px;
- padding-bottom: 15px;
- }
- </style>
- <script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
- <script>
- function initialize() {
- var mapOptions = {
- zoom: 13,
- center: new google.maps.LatLng(11.5576032, 104.9040542)
- }
- var map = new google.maps.Map(document.getElementById('map-canvas'),
- mapOptions);
- setMarkers(map,KOIs);
- }
- function setMarker(map,lat,lng){
- var image={
- url: 'https://www.dropbox.com/s/lht62fjxhcizxv6/KOI.png?raw=1',
- size: new google.maps.Size(20, 36),
- origin: new google.maps.Point(0,0),
- anchor: new google.maps.Point(10, 18)
- };
- var latLng=new google.maps.LatLng(lat,lng);
- var marker=new google.maps.Marker({
- position:latLng,
- map:map,
- icon:image,
- });
- }
- var KOIs = [
- ['KOI Vattanac Capital', 11.5734294, 104.9185064, 1],
- ['KOI Mao Tse Tung', 11.5466401, 104.9085284, 2],
- ['KOI IFL', 11.567905, 104.893615, 3]
- ];
- var contentString='<p>KOI IFL<p>';
- function setMarkers(map, locations) {
- for (var i = 0; i < locations.length; i++) {
- var KOI = locations[i];
- setMarker(map,KOI[1],KOI[2]);
- }
- }
- google.maps.event.addDomListener(window, 'load', initialize);
- function zoomToLatAndLng(lat,lng){
- var mapOptions = {
- zoom: 19,
- center: new google.maps.LatLng(lat, lng)
- }
- var map=new google.maps.Map(document.getElementById("map-canvas"),mapOptions);
- setMarkers(map,KOIs);
- }
- </script>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <div class="span8">
- <div id="map-canvas" style="height: 350px"></div>
- </div>
- </div>
- <div class="row border">
- <div class="col-sm-4 address">
- <h3>KOI IFL</h3>
- <ul class="list-unstyled">
- <li style="font-size:11px">
- TEL: 092 699 777
- </li >
- <li style="font-size:11px">
- Operation Hour: 09:00AM-09:00PM
- </li>
- <li>
- <a href="#" onclick="zoomToLatAndLng(11.5678439, 104.8936495);">
- <p>120B Russian Confederation Blvd,</p>
- <p>Sangkat Tuek L'ak Ti Mouy,</p>
- <p>Khan Toul Kork,</p>
- <p>Phnom Penh, Cambodia</p>
- </a>
- </li>
- </ul>
- </div>
- <div class="col-sm-4 image">
- <img class="img-responsive" src="https://www.dropbox.com/s/e5ikgqowx74fr54/IFL.jpg?raw=1"alt="">
- </div>
- <div class="col-sm-4 map">
- <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3908.7760769211864!2d104.89361500000001!3d11.567904!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x310951754759b31d%3A0xc70969637e98c9f9!2sKOI+Cafe+IFL!5e0!3m2!1sen!2skh!4v1416720902225" width="100%" height="232px" frameborder="0" style="border:0"></iframe>
- </div>
- </div>
- <div class="row border">
- <div class="col-sm-4 address">
- <h3>KOI Vattanac Capital</h3>
- <ul class="list-unstyled">
- <li style="font-size:11px">
- TEL: 092 880 880
- </li>
- <li style="font-size:11px">
- Operation Hour:09:00AM-09:00PM
- </li>
- <li>
- <a href="#" onclick="zoomToLatAndLng(11.5734294, 104.9185064);">
- <p> 66 Preah Monivong Blvd,</p>
- <p> Sangkat Wat Phnom,</p>
- <p> Khan Daun Penh,</p>
- <p> Phnom Penh, Cambodia</p>
- </a>
- </li>
- </ul>
- </div>
- <div class="col-sm-4 image">
- <!-- paste the link of Mao Tse Tung Image here in src="...link of MZT...."-->
- <img class="img-responsive" src="https://www.dropbox.com/s/l4r35idlyu2u86l/VTC.jpg?raw=1"alt="">
- </div>
- <div class="col-sm-4 map">
- <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3908.698921945341!2d104.9185!3d11.573428!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31095143acdafea1%3A0x5e5bdc05192899c9!2sKOI+Cafe+VTC!5e0!3m2!1sen!2skh!4v1416721048292" width="100%" height="232px" frameborder="0" style="border:0"></iframe>
- </div>
- </div>
- <div class="row border">
- <div class="col-sm-4 address">
- <h3>KOI Mao Tse Tung</h3>
- <ul class="list-unstyled">
- <li style="font-size:11px">
- TEL: 092 880 777
- </li>
- <li style="font-size:11px">
- Operation Hour: 09:00AM-09:00PM
- </li>
- <li>
- <a href="#" onclick="zoomToLatAndLng(11.5466401, 104.9085284);">
- <p> 136DEo Mao Tse Tung Blvd,</p>
- <p>Sangkat Tumnub Tirk,</p>
- <p> Khan Chamkarmon,</p>
- <p> Phnom Penh, Cambodia</p>
- </a>
- </li>
- </ul>
- </div>
- <div class="col-sm-4 image">
- <!-- paste the link of Mao Tse Tung Image here in src="...link of MZT...."-->
- <img class="img-responsive" src="https://www.dropbox.com/s/964orpgs5nnsdpo/MZT.jpg?raw=1" alt="">
- </div>
- <div class="col-sm-4 map">
- <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3909.0720818488303!2d104.90849000000001!3d11.546687!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3109511dcddddaad%3A0xd75a54599f1767d8!2sKOI+Caf%C3%A9+Mao+Tse+Tung!5e0!3m2!1sen!2skh!4v1416721080773" width="100%" height="232px" frameborder="0" style="border:0"></iframe>
- </div>
- </div>
- </div>
- <script src="https://www.dropbox.com/s/vp2tsstc2mcdzyx/bootstrap.min.js?raw=1"></script>
- <script src="https://www.dropbox.com/s/tpuou6ddc2655hw/jquery.js?raw=1"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment