CINXE.COM
Gallery - Crystal Martin Srilanka
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="https://www.crystal-martin.lk/xmlrpc.php" /> <link rel="shortcut icon" href="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png" type="image/x-icon" /> <link rel="apple-touch-icon" href="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png"> <link rel="apple-touch-icon" sizes="120x120" href="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png"> <link rel="apple-touch-icon" sizes="76x76" href="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png"> <link rel="apple-touch-icon" sizes="152x152" href="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png"> <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style> <!-- This site is optimized with the Yoast SEO plugin v23.9 - https://yoast.com/wordpress/plugins/seo/ --> <title>Gallery - Crystal Martin Srilanka</title> <link rel="canonical" href="https://www.crystal-martin.lk/gallery/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Gallery - Crystal Martin Srilanka" /> <meta property="og:url" content="https://www.crystal-martin.lk/gallery/" /> <meta property="og:site_name" content="Crystal Martin Srilanka" /> <meta property="article:publisher" content="https://www.facebook.com/CrystalMartinSriLanka" /> <meta property="article:modified_time" content="2021-09-17T07:49:50+00:00" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:label1" content="Est. reading time" /> <meta name="twitter:data1" content="1 minute" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://www.crystal-martin.lk/gallery/","url":"https://www.crystal-martin.lk/gallery/","name":"Gallery - Crystal Martin Srilanka","isPartOf":{"@id":"https://www.crystal-martin.lk/#website"},"datePublished":"2021-07-14T09:56:34+00:00","dateModified":"2021-09-17T07:49:50+00:00","breadcrumb":{"@id":"https://www.crystal-martin.lk/gallery/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://www.crystal-martin.lk/gallery/"]}]},{"@type":"BreadcrumbList","@id":"https://www.crystal-martin.lk/gallery/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.crystal-martin.lk/"},{"@type":"ListItem","position":2,"name":"Gallery"}]},{"@type":"WebSite","@id":"https://www.crystal-martin.lk/#website","url":"https://www.crystal-martin.lk/","name":"Crystal Martin Srilanka","description":"Official Website of Crystal Martin Ceylon","publisher":{"@id":"https://www.crystal-martin.lk/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.crystal-martin.lk/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://www.crystal-martin.lk/#organization","name":"Crystal Martin Sri Lanka","url":"https://www.crystal-martin.lk/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://www.crystal-martin.lk/#/schema/logo/image/","url":"https://i2.wp.com/www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png?fit=150%2C150&ssl=1","contentUrl":"https://i2.wp.com/www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png?fit=150%2C150&ssl=1","width":150,"height":150,"caption":"Crystal Martin Sri Lanka"},"image":{"@id":"https://www.crystal-martin.lk/#/schema/logo/image/"},"sameAs":["https://www.facebook.com/CrystalMartinSriLanka","https://www.linkedin.com/company/crystalinternational/mycompany/","https://www.youtube.com/channel/UCnyGwJ1W-YRSlszz-dIZUNA"]}]}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//cdnjs.cloudflare.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel="alternate" type="application/rss+xml" title="Crystal Martin Srilanka » Feed" href="https://www.crystal-martin.lk/feed/" /> <link rel="alternate" type="application/rss+xml" title="Crystal Martin Srilanka » Comments Feed" href="https://www.crystal-martin.lk/comments/feed/" /> <!-- This site uses the Google Analytics by MonsterInsights plugin v9.2.2 - Using Analytics tracking - https://www.monsterinsights.com/ --> <script src="//www.googletagmanager.com/gtag/js?id=G-HBR0JHREPG" data-cfasync="false" data-wpfc-render="false" async></script> <script data-cfasync="false" data-wpfc-render="false"> var mi_version = '9.2.2'; var mi_track_user = true; var mi_no_track_reason = ''; var MonsterInsightsDefaultLocations = {"page_location":"https:\/\/www.crystal-martin.lk\/gallery\/"}; if ( typeof MonsterInsightsPrivacyGuardFilter === 'function' ) { var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsPrivacyGuardFilter( MonsterInsightsExcludeQuery ) : MonsterInsightsPrivacyGuardFilter( MonsterInsightsDefaultLocations ); } else { var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsExcludeQuery : MonsterInsightsDefaultLocations; } var disableStrs = [ 'ga-disable-G-HBR0JHREPG', ]; /* Function to detect opted out users */ function __gtagTrackerIsOptedOut() { for (var index = 0; index < disableStrs.length; index++) { if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) { return true; } } return false; } /* Disable tracking if the opt-out cookie exists. */ if (__gtagTrackerIsOptedOut()) { for (var index = 0; index < disableStrs.length; index++) { window[disableStrs[index]] = true; } } /* Opt-out function */ function __gtagTrackerOptout() { for (var index = 0; index < disableStrs.length; index++) { document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStrs[index]] = true; } } if ('undefined' === typeof gaOptout) { function gaOptout() { __gtagTrackerOptout(); } } window.dataLayer = window.dataLayer || []; window.MonsterInsightsDualTracker = { helpers: {}, trackers: {}, }; if (mi_track_user) { function __gtagDataLayer() { dataLayer.push(arguments); } function __gtagTracker(type, name, parameters) { if (!parameters) { parameters = {}; } if (parameters.send_to) { __gtagDataLayer.apply(null, arguments); return; } if (type === 'event') { parameters.send_to = monsterinsights_frontend.v4_id; var hookName = name; if (typeof parameters['event_category'] !== 'undefined') { hookName = parameters['event_category'] + ':' + name; } if (typeof MonsterInsightsDualTracker.trackers[hookName] !== 'undefined') { MonsterInsightsDualTracker.trackers[hookName](parameters); } else { __gtagDataLayer('event', name, parameters); } } else { __gtagDataLayer.apply(null, arguments); } } __gtagTracker('js', new Date()); __gtagTracker('set', { 'developer_id.dZGIzZG': true, }); if ( MonsterInsightsLocations.page_location ) { __gtagTracker('set', MonsterInsightsLocations); } __gtagTracker('config', 'G-HBR0JHREPG', {"forceSSL":"true","link_attribution":"true"} ); window.gtag = __gtagTracker; (function () { /* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */ /* ga and __gaTracker compatibility shim. */ var noopfn = function () { return null; }; var newtracker = function () { return new Tracker(); }; var Tracker = function () { return null; }; var p = Tracker.prototype; p.get = noopfn; p.set = noopfn; p.send = function () { var args = Array.prototype.slice.call(arguments); args.unshift('send'); __gaTracker.apply(null, args); }; var __gaTracker = function () { var len = arguments.length; if (len === 0) { return; } var f = arguments[len - 1]; if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') { if ('send' === arguments[0]) { var hitConverted, hitObject = false, action; if ('event' === arguments[1]) { if ('undefined' !== typeof arguments[3]) { hitObject = { 'eventAction': arguments[3], 'eventCategory': arguments[2], 'eventLabel': arguments[4], 'value': arguments[5] ? arguments[5] : 1, } } } if ('pageview' === arguments[1]) { if ('undefined' !== typeof arguments[2]) { hitObject = { 'eventAction': 'page_view', 'page_path': arguments[2], } } } if (typeof arguments[2] === 'object') { hitObject = arguments[2]; } if (typeof arguments[5] === 'object') { Object.assign(hitObject, arguments[5]); } if ('undefined' !== typeof arguments[1].hitType) { hitObject = arguments[1]; if ('pageview' === hitObject.hitType) { hitObject.eventAction = 'page_view'; } } if (hitObject) { action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction; hitConverted = mapArgs(hitObject); __gtagTracker('event', action, hitConverted); } } return; } function mapArgs(args) { var arg, hit = {}; var gaMap = { 'eventCategory': 'event_category', 'eventAction': 'event_action', 'eventLabel': 'event_label', 'eventValue': 'event_value', 'nonInteraction': 'non_interaction', 'timingCategory': 'event_category', 'timingVar': 'name', 'timingValue': 'value', 'timingLabel': 'event_label', 'page': 'page_path', 'location': 'page_location', 'title': 'page_title', 'referrer' : 'page_referrer', }; for (arg in args) { if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) { hit[gaMap[arg]] = args[arg]; } else { hit[arg] = args[arg]; } } return hit; } try { f.hitCallback(); } catch (ex) { } }; __gaTracker.create = newtracker; __gaTracker.getByName = newtracker; __gaTracker.getAll = function () { return []; }; __gaTracker.remove = noopfn; __gaTracker.loaded = true; window['__gaTracker'] = __gaTracker; })(); } else { console.log(""); (function () { function __gtagTracker() { return null; } window['__gtagTracker'] = __gtagTracker; window['gtag'] = __gtagTracker; })(); } </script> <!-- / Google Analytics by MonsterInsights --> <script> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.crystal-martin.lk\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.7.1"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings); </script> <style id='wp-emoji-styles-inline-css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='bplugins-plyrio-css' href='https://www.crystal-martin.lk/wp-content/plugins/html5-video-player/public/css/h5vp.css?ver=2.5.33' media='all' /> <link rel='stylesheet' id='html5-player-video-style-css' href='https://www.crystal-martin.lk/wp-content/plugins/html5-video-player/dist/frontend.css?ver=2.5.33' media='all' /> <link rel='stylesheet' id='wp-components-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/components/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='wp-preferences-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/preferences/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='wp-block-editor-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/block-editor/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='wp-reusable-blocks-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/reusable-blocks/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='wp-patterns-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/patterns/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='wp-editor-css' href='https://www.crystal-martin.lk/wp-includes/css/dist/editor/style.min.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='sjb_shortcode_block-cgb-style-css-css' href='https://www.crystal-martin.lk/wp-content/plugins/simple-job-board/sjb-block/dist/blocks.style.build.css' media='all' /> <link rel='stylesheet' id='nfd-wonder-blocks-utilities-css' href='https://www.crystal-martin.lk/wp-content/plugins/bluehost-wordpress-plugin/vendor/newfold-labs/wp-module-patterns/assets/build/utilities.css?ver=2.1.0' media='all' /> <link rel='stylesheet' id='contact-form-7-css' href='https://www.crystal-martin.lk/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.7.7' media='all' /> <link rel='stylesheet' id='rs-plugin-settings-css' href='https://www.crystal-martin.lk/wp-content/plugins/revslider/public/assets/css/rs6.css?ver=6.4.11' media='all' /> <style id='rs-plugin-settings-inline-css'> #rs-demo-id {} .tparrows:before{color:#0088CC;text-shadow:0 0 3px #fff;}.revslider-initialised .tp-loader{z-index:18;} </style> <link rel='stylesheet' id='simple-job-board-google-fonts-css' href='https://fonts.googleapis.com/css?family=Roboto%3A100%2C100i%2C300%2C300i%2C400%2C400i%2C500%2C500i%2C700%2C700i%2C900%2C900i&ver=2.13.1' media='all' /> <link rel='stylesheet' id='sjb-fontawesome-css' href='https://www.crystal-martin.lk/wp-content/plugins/simple-job-board/includes/css/font-awesome.min.css?ver=5.15.4' media='all' /> <link rel='stylesheet' id='simple-job-board-jquery-ui-css' href='https://www.crystal-martin.lk/wp-content/plugins/simple-job-board/public/css/jquery-ui.css?ver=1.12.1' media='all' /> <link rel='stylesheet' id='simple-job-board-frontend-css' href='https://www.crystal-martin.lk/wp-content/plugins/simple-job-board/public/css/simple-job-board-public.css?ver=3.0.0' media='all' /> <link rel='stylesheet' id='js_composer_front-css' href='https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=6.6.0' media='all' /> <link rel='stylesheet' id='bootstrap-css' href='https://www.crystal-martin.lk/wp-content/uploads/porto_styles/bootstrap.css?ver=6.1.8' media='all' /> <link rel='stylesheet' id='porto-plugins-css' href='https://www.crystal-martin.lk/wp-content/themes/porto/css/plugins.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='porto-theme-css' href='https://www.crystal-martin.lk/wp-content/themes/porto/css/theme.css?ver=6.7.1' media='all' /> <link rel='stylesheet' id='porto-shortcodes-css' href='https://www.crystal-martin.lk/wp-content/uploads/porto_styles/shortcodes.css?ver=6.1.8' media='all' /> <link rel='stylesheet' id='porto-dynamic-style-css' href='https://www.crystal-martin.lk/wp-content/uploads/porto_styles/dynamic_style.css?ver=6.1.8' media='all' /> <link rel='stylesheet' id='porto-style-css' href='https://www.crystal-martin.lk/wp-content/themes/porto/style.css?ver=6.7.1' media='all' /> <style id='porto-style-inline-css'> .vc_custom_1627551031866{margin-top: 100px !important;} #header .logo,.side-header-narrow-bar-logo{max-width:80px}@media (min-width:1170px){#header .logo{max-width:250px}}@media (max-width:991px){#header .logo{max-width:110px}}@media (max-width:767px){#header .logo{max-width:110px}}#header.sticky-header .logo{max-width:100px}#header,.sticky-header .header-main.sticky{border-top:3px solid #ededed}@media (min-width:992px){}.page-top .page-title-wrap{line-height:0}.page-top .page-title:not(.b-none):after{content:'';position:absolute;width:100%;left:0;border-bottom:5px solid #0088CC;bottom:-32px}@media (min-width:1500px){.left-sidebar.col-lg-3,.right-sidebar.col-lg-3{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.main-content.col-lg-9{-ms-flex:0 0 80%;flex:0 0 80%;max-width:80%}.main-content.col-lg-6{-ms-flex:0 0 60%;flex:0 0 60%;max-width:60%}}#header,.fixed-header #header{background-color:#0117a1 !important}.header-wrapper #header .header-main{background:none}.menu-item menu-item-type-post_type menu-item-object-page narrow{color:rgba(249,171,31)} </style> <script src="https://www.crystal-martin.lk/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend-gtag.min.js?ver=9.2.2" id="monsterinsights-frontend-script-js" async data-wp-strategy="async"></script> <script data-cfasync="false" data-wpfc-render="false" id='monsterinsights-frontend-script-js-extra'>var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/www.crystal-martin.lk","hash_tracking":"false","v4_id":"G-HBR0JHREPG"};</script> <script src="https://www.crystal-martin.lk/wp-content/plugins/bluehost-wordpress-plugin/vendor/newfold-labs/wp-module-patterns/assets/build/utilities.js?ver=2.1.0" id="nfd-wonder-blocks-utilities-js"></script> <script src="https://www.crystal-martin.lk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script> <script src="https://www.crystal-martin.lk/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/revslider/public/assets/js/rbtools.min.js?ver=6.4.8" id="tp-tools-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.4.11" id="revmin-js"></script> <link rel="https://api.w.org/" href="https://www.crystal-martin.lk/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://www.crystal-martin.lk/wp-json/wp/v2/pages/893" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.crystal-martin.lk/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.7.1" /> <link rel='shortlink' href='https://www.crystal-martin.lk/?p=893' /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://www.crystal-martin.lk/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.crystal-martin.lk%2Fgallery%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://www.crystal-martin.lk/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.crystal-martin.lk%2Fgallery%2F&format=xml" /> <meta name="generator" content="Redux 4.4.18" /><style type="text/css"> .aiovg-player { display: block; position: relative; padding-bottom: 56.25%; width: 100%; height: 0; overflow: hidden; } .aiovg-player iframe, .aiovg-player .video-js, .aiovg-player .plyr { position: absolute; inset: 0; margin: 0; padding: 0; width: 100%; height: 100%; } </style><meta name="google-site-verification" content="wO_4W2DGqHQMvOtulSHhQnhtoRuYizocCeOGuQ9-BrI" /> <style> #floating-panel { position: absolute; top: 10px; left: 25%; z-index: 5; background-color: #fff; padding: 5px; border: 1px solid #999; text-align: center; font-family: "Roboto", "sans-serif"; line-height: 30px; padding-left: 10px; } </style> <style> #h5vpQuickPlayer { width: 100%; max-width: 100%; margin: 0 auto; } </style> <script type="text/javascript"> WebFontConfig = { google: { families: [ 'Open+Sans:200,300,400,500,600,700,800','Shadows+Into+Light:400,700','Playfair+Display:400,700' ] } }; (function(d) { var wf = d.createElement('script'), s = d.scripts[0]; wf.src = 'https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/webfont.js'; wf.async = true; s.parentNode.insertBefore(wf, s); })(document);</script> <style> #nfd-site-status { align-items: center; background-color: #F8F8F8; border-radius: 2px; border-style: solid; border-width: 1px; color: #333333; display: flex; font-weight: 500; gap: 2px; height: 22px; margin-top: 4px; padding: 0 14px; } #wpadminbar #wp-admin-bar-site-status .ab-item{ height:22px; } #nfd-site-status[data-coming-soon="true"] { border-color: var(--Dark-Red, #C71919); } #nfd-site-status[data-coming-soon="false"] { border-color: var(--A11y-GRN, #278224); } #nfd-site-status span { display: none; text-transform: uppercase; font-weight: 500; } #nfd-site-status[data-coming-soon="true"] #nfd-site-status-coming-soon { color: var(--Dark-Red, #C71919); display: inline-block; } #nfd-site-status[data-coming-soon="false"] #nfd-site-status-live { color: var(--A11y-GRN, #278224); display: inline-block; } </style> <meta name="generator" content="Elementor 3.16.6; features: e_dom_optimization, e_optimized_assets_loading, additional_custom_breakpoints; settings: css_print_method-external, google_font-enabled, font_display-auto"> <meta name="generator" content="Powered by WPBakery Page Builder - drag and drop page builder for WordPress."/> <meta name="generator" content="Powered by Slider Revolution 6.4.11 - responsive, Mobile-Friendly Slider Plugin for WordPress with comfortable drag and drop interface." /> <link rel="icon" href="https://www.crystal-martin.lk/wp-content/uploads/2021/07/cropped-Crystal_colored-LLLLLL-150x150-1-32x32.png" sizes="32x32" /> <link rel="icon" href="https://www.crystal-martin.lk/wp-content/uploads/2021/07/cropped-Crystal_colored-LLLLLL-150x150-1-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://www.crystal-martin.lk/wp-content/uploads/2021/07/cropped-Crystal_colored-LLLLLL-150x150-1-180x180.png" /> <meta name="msapplication-TileImage" content="https://www.crystal-martin.lk/wp-content/uploads/2021/07/cropped-Crystal_colored-LLLLLL-150x150-1-270x270.png" /> <script type="text/javascript">function setREVStartSize(e){ //window.requestAnimationFrame(function() { window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW; window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH; try { var pw = document.getElementById(e.c).parentNode.offsetWidth, newh; pw = pw===0 || isNaN(pw) ? window.RSIW : pw; e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw); e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw); e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh); e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh); e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide); e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide); e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0); if(e.layout==="fullscreen" || e.l==="fullscreen") newh = Math.max(e.mh,window.RSIH); else{ e.gw = Array.isArray(e.gw) ? e.gw : [e.gw]; for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1]; e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el; e.gh = Array.isArray(e.gh) ? e.gh : [e.gh]; for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1]; var nl = new Array(e.rl.length), ix = 0, sl; e.tabw = e.tabhide>=pw ? 0 : e.tabw; e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw; e.tabh = e.tabhide>=pw ? 0 : e.tabh; e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh; for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i]; sl = nl[0]; for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;} var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]); newh = (e.gh[ix] * m) + (e.tabh + e.thumbh); } if(window.rs_init_css===undefined) window.rs_init_css = document.head.appendChild(document.createElement("style")); document.getElementById(e.c).height = newh+"px"; window.rs_init_css.innerHTML += "#"+e.c+"_wrapper { height: "+newh+"px }"; } catch(e){ console.log("Failure at Presize of Slider:" + e) } //}); };</script> <style id="wp-custom-css"> #footer .widget > div > ul, #footer .widget > ul, #footer .widget > div > ul li, #footer .widget > ul li, #footer .post-item-small{ border:none; } #services{ margin-top:30px; } .wpb_wrapper > ol> li{ text-align:justify !important; } .jobpost{ margin-top:100px; } #wpforms-submit-389 { background:#145ca8; color:#fff; } .header-container{ margin-left:0; padding-left:0; } .header-top{ display:none; } .fixed-header #header .header-main .header-left{ background: white; padding-left: 41px; } .header-wrapper #header .header-main{ background: #0117a1 !important; } .header-row { margin-left:0px; padding-left:0px; } #header .main-menu > li.menu-item.active:hover > a, #header .main-menu > li.menu-item > a{ color:white; } .footer-bottom{ display:none; } #main-menu .menu-item a{ color:white!important; } .header-right-top .nav-pills li a,.header-right-top .nav-pills li,.search-toggle i{ color:white; } .header-right-top{ display:none; } #header{ background-color: #006ac6 !important; } #header .main-menu > li.menu-item.active:hover > a, #header .main-menu > li.menu-item:hover > a{ background:none !important; color:black !important; } .footer-main{ background:#0117a1; } .footer-copyright{ color:white !important; } .footer-bottom{ background:#0073d0!important; } #contact-info-widget-2 li,#contact-info-widget-2 span a,.widget .links li a { color:white !important; } #header .main-menu > li.menu-item.active > a{ background:none; color:black !important; } #header .main-menu > li.menu-item{ margin-left:18px; } /*for overlapping fields in some devices contactform7*/ @media screen and (max-width: 768px){ .fixed-header #header .header-main .header-left { background:#fff; } .search-popup{ display:none; } .fixed-header #header .header-main .header-left .logo{ background:white; padding-left:14px; } .wpcf7 #Personal-Details, .wpcf7 #Education, .wpcf7 #Profession, .wpcf7 #To-Teach, .wpcf7 #Timings, .wpcf7 #Colscol, .wpcf7 #Upload { height:auto; padding: 20px; } #Teacher-column #left { width: 100%; float: none; margin-bottom: 20px; } .input-text, input[type=text], input[type=date], input[type=text], input[type=email], input[type=text], textarea { width: 100%; } .menu-item{ color:white; } span.wpcf7-list-item { display: block; margin: 20px 0 0 1em; } .wpcf7 #Upload p{ line-height:21px; } } </style> <style id="kirki-inline-styles"></style><noscript><style> .wpb_animate_when_almost_visible { opacity: 1; }</style></noscript></head> <body class="page-template-default page page-id-893 wp-embed-responsive full blog-1 porto wpb-js-composer js-comp-ver-6.6.0 vc_responsive elementor-default elementor-kit-312"> <div class="page-wrapper"><!-- page wrapper --> <!-- header wrapper --> <div class="header-wrapper header-reveal fixed-header"> <header id="header" class="header-builder"> <div class="header-top"><div class="header-row container"><div class="header-col header-left"></div><div class="header-col header-right"></div></div></div><div class="header-main header-has-center"><div class="header-row container"><div class="header-col header-left"> <div class="logo"> <a href="https://www.crystal-martin.lk/" title="Crystal Martin Srilanka - Official Website of Crystal Martin Ceylon" rel="home"> <img class="img-responsive sticky-logo sticky-retina-logo" width="80" height="50" src="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png" alt="Crystal Martin Srilanka" /><img class="img-responsive standard-logo" width="80" height="50" src="//www.crystal-martin.lk/wp-content/uploads/2021/07/Crystal_colored-LLLLLL-150x150-2.png" alt="Crystal Martin Srilanka" /><img class="img-responsive retina-logo" width="80" height="50" src="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png" alt="Crystal Martin Srilanka" style="max-height:50px;" /> </a> </div> </div><div class="header-col header-center"><ul id="menu-main-menu" class="main-menu mega-menu"><li id="nav-menu-item-3704" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home narrow"><a href="https://www.crystal-martin.lk/">Home</a></li> <li id="nav-menu-item-3712" class="menu-item menu-item-type-post_type menu-item-object-page narrow"><a href="https://www.crystal-martin.lk/about-us/">About Us</a></li> <li id="nav-menu-item-747" class="menu-item menu-item-type-custom menu-item-object-custom narrow"><a href="https://www.crystal-martin.lk/Sustainability">Sustainability</a></li> <li id="nav-menu-item-424" class="menu-item menu-item-type-post_type menu-item-object-page narrow"><a href="https://www.crystal-martin.lk/career/">Careers</a></li> <li id="nav-menu-item-901" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-893 current_page_item active narrow"><a href="https://www.crystal-martin.lk/gallery/" class=" current">Gallery</a></li> <li id="nav-menu-item-336" class="menu-item menu-item-type-post_type menu-item-object-page narrow"><a href="https://www.crystal-martin.lk/contact-us/">Contact Us</a></li> </ul><div class="searchform-popup search-popup"><a class="search-toggle"><i class="fas fa-search"></i><span class="search-text">Search</span></a> <form action="https://www.crystal-martin.lk/" method="get" class="searchform"> <div class="searchform-fields"> <span class="text"><input name="s" type="text" value="" placeholder="Search…" autocomplete="off" /></span> <span class="button-wrap"> <button class="btn btn-special" title="Search" type="submit"><i class="fas fa-search"></i></button> </span> </div> </form> </div></div><div class="header-col header-right"><a class="mobile-toggle"><i class="fas fa-bars"></i></a></div></div> <div id="nav-panel"> <div class="container"> <div class="mobile-nav-wrap"> <div class="menu-wrap"><ul id="menu-main-menu-1" class="mobile-menu accordion-menu"><li id="accordion-menu-item-3704" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home"><a href="https://www.crystal-martin.lk/">Home</a></li> <li id="accordion-menu-item-3712" class="menu-item menu-item-type-post_type menu-item-object-page"><a href="https://www.crystal-martin.lk/about-us/">About Us</a></li> <li id="accordion-menu-item-747" class="menu-item menu-item-type-custom menu-item-object-custom"><a href="https://www.crystal-martin.lk/Sustainability">Sustainability</a></li> <li id="accordion-menu-item-424" class="menu-item menu-item-type-post_type menu-item-object-page"><a href="https://www.crystal-martin.lk/career/">Careers</a></li> <li id="accordion-menu-item-901" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-893 current_page_item active"><a href="https://www.crystal-martin.lk/gallery/" class=" current ">Gallery</a></li> <li id="accordion-menu-item-336" class="menu-item menu-item-type-post_type menu-item-object-page"><a href="https://www.crystal-martin.lk/contact-us/">Contact Us</a></li> </ul></div> </div> </div> </div> </div> </header> </div> <!-- end header wrapper --> <section class="page-top page-header-1"> <div class="container hide-title"> <div class="row"> <div class="col-lg-12"> <div class="breadcrumbs-wrap"> <span class="yoast-breadcrumbs"><span><a href="https://www.crystal-martin.lk/">Home</a></span> 禄 <span class="breadcrumb_last" aria-current="page">Gallery</span></span> </div> <div class="page-title-wrap d-none"> <h1 class="page-title">Gallery</h1> </div> </div> </div> </div> </section> <div id="main" class="column1 wide clearfix"><!-- main --> <div class="container-fluid"> <div class="row main-content-wrap"> <!-- main content --> <div class="main-content col-lg-12"> <div id="content" role="main"> <article class="post-893 page type-page status-publish hentry"> <span class="entry-title" style="display: none;">Gallery</span><span class="vcard" style="display: none;"><span class="fn"><a href="https://www.crystal-martin.lk/author/admin/" title="Posts by admin" rel="author">admin</a></span></span><span class="updated" style="display:none">2021-09-17T07:49:50+00:00</span> <div class="page-content"> <div class="vc_row wpb_row row vc_custom_1627551031866"><div class="vc_column_container col-md-2"><div class="wpb_wrapper vc_column-inner"></div></div><div class="vc_column_container col-md-8"><div class="wpb_wrapper vc_column-inner"></div></div><div class="vc_column_container col-md-2"><div class="wpb_wrapper vc_column-inner"></div></div></div><div class="vc_row wpb_row row"><div class="vc_column_container col-md-2"><div class="wpb_wrapper vc_column-inner"></div></div><div class="vc_column_container col-md-8"><div class="wpb_wrapper vc_column-inner"><h2 class="vc_custom_heading align-left">Wathupitiwela</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887772-7f1d3817-b612-0","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div><h2 class="vc_custom_heading align-left">Malwatte</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887774-307e2c8a-d371-4","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div><h2 class="vc_custom_heading align-left">Katunayake</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887775-bb653af1-143c-7","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div><h2 class="vc_custom_heading align-left">Kanthale</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887776-1d7b576e-b8ec-6","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887776-af116587-c6c1-9","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div><h2 class="vc_custom_heading align-left">Galagedara</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887778-68200476-c66c-2","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div><h2 class="vc_custom_heading align-left">Dambulla</h2> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864887778-d55c7321-4aa5-0","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div> <div class="vc_grid-container-wrapper vc_clearfix"> <div class="vc_grid-container vc_clearfix wpb_content_element vc_masonry_media_grid" data-initial-loading-animation="zoomIn" data-vc-grid-settings="{"page_id":893,"style":"all-masonry","action":"vc_get_vc_grid_data","shortcode_id":"1631864913505-cd2937cc-b765-2","tag":"vc_masonry_media_grid"}" data-vc-request="https://www.crystal-martin.lk/wp-admin/admin-ajax.php" data-vc-post-id="893" data-vc-public-nonce="a279cc1e2c"> </div> </div></div></div><div class="vc_column_container col-md-2"><div class="wpb_wrapper vc_column-inner"></div></div></div> </div> </article> </div> </div><!-- end main content --> </div> </div> </div><!-- end main --> <div class="footer-wrapper"> <div class="footer-top"> <div class="container"> <aside id="block-widget-2" class="widget widget-block"> <div class="block"> <div class="porto-block"></div> </div> </aside> </div> </div> <div id="footer" class="footer-1" > <div class="footer-main"> <div class="container"> <div class="row"> <div class="col-lg-4"> <aside id="media_image-2" class="widget widget_media_image"><a href="https://codezync.com/crystal/"><img width="150" height="150" src="https://www.crystal-martin.lk/wp-content/uploads/2020/10/Crystal_colored-LLLLLL-150x150.png" class="image wp-image-193 attachment-thumbnail size-thumbnail" alt="" style="max-width: 100%; height: auto;" decoding="async" loading="lazy" /></a></aside> </div> <div class="col-lg-4"> <aside id="contact-info-widget-2" class="widget contact-info"><h3 class="widget-title">Get in Touch</h3> <div class="contact-info contact-info-block"> <ul class="contact-details"> <li><i class="far fa-dot-circle"></i> <strong>Address:</strong> <span>Crystal Martin Sri Lanka IPEZ Katunayake</span></li> <li><i class="fab fa-whatsapp"></i> <strong>Phone:</strong> <span>(+94) 114 530 300</span></li> <li><i class="far fa-envelope"></i> <strong>Email:</strong> <span><a href="mailto:info@sl.crystal-martin.com">info@sl.crystal-martin.com</a></span></li> </ul> </div> </aside><aside id="follow-us-widget-2" class="widget follow-us"> <div class="share-links"> <a href="https://www.facebook.com/CrystalMartinSriLanka" rel="nofollow" target="_blank" title="Facebook" class="share-facebook">Facebook</a> <a href="https://www.youtube.com/channel/UCnyGwJ1W-YRSlszz-dIZUNA" rel="nofollow" target="_blank" title="Youtube" class="share-youtube">Youtube</a> <a href="https://www.linkedin.com/company/crystalinternational/mycompany/" rel="nofollow" target="_blank" title="Linkedin" class="share-linkedin">Linkedin</a> </div> </aside> </div> <div class="col-lg-4"> <aside id="nav_menu-4" class="widget widget_nav_menu"><h3 class="widget-title">Useful Links</h3><div class="menu-main-menu-container"><ul id="menu-main-menu-2" class="menu"><li id="menu-item-3704" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-3704"><a href="https://www.crystal-martin.lk/">Home</a></li> <li id="menu-item-3712" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3712"><a href="https://www.crystal-martin.lk/about-us/">About Us</a></li> <li id="menu-item-747" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-747"><a href="https://www.crystal-martin.lk/Sustainability">Sustainability</a></li> <li id="menu-item-424" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-424"><a href="https://www.crystal-martin.lk/career/">Careers</a></li> <li id="menu-item-901" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-893 current_page_item menu-item-901"><a href="https://www.crystal-martin.lk/gallery/" aria-current="page">Gallery</a></li> <li id="menu-item-336" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-336"><a href="https://www.crystal-martin.lk/contact-us/">Contact Us</a></li> </ul></div></aside> </div> </div> </div> </div> <div class="footer-bottom"> <div class="container"> <div class="footer-left"> <span class="logo"> <a href="https://www.crystal-martin.lk/" title="Crystal Martin Srilanka - Official Website of Crystal Martin Ceylon"> <img class="img-responsive" src="//www.crystal-martin.lk/wp-content/uploads/2021/07/logo.png" alt="Crystal Martin Srilanka" /> </a> </span> <span class="footer-copyright">© Copyright 2021. All Rights Reserved.</span> </div> </div> </div> </div> </div> </div><!-- end wrapper --> <script> setTimeout(() => { document.getElementsByClassName('aiovg-player-iframe')[0].setAttribute("data-src", "https://www.crystal-martin.lk/milestone.mp4?autoplay=1&loop=1"); var elm=document.getElementsByClassName('aiovg-player-iframe')[0]; elm.firstElementChild.setAttribute("src", "https://www.crystal-martin.lk/milestone.mp4?autoplay=1&loop=1"); }, 2000); let map; let markers = []; let coords_array = []; let current_location_arr = []; let current_location; let direction_arr; let directionsService; let directionsRenderer; function initMap2() { map = new google.maps.Map(document.getElementById("raw-map"), { center: { lat: 7.1617125, lng: 79.8824531 }, zoom: 8, }); directionsService = new google.maps.DirectionsService(); directionsRenderer = new google.maps.DirectionsRenderer({ suppressMarkers: true, }); directionsRenderer.setMap(map); coords_array = [ { id: 1, lat: 7.1617125, lng: 79.8824531, location: "Crystal Martin Katunayake", }, { id: 2, lat: 7.1253625, lng: 80.10379689999999, location: "Crystal Martin Wathupitiwala", }, { id: 3, lat: 7.1326981, lng: 80.07429239999999, location: "Crystal Martin Garments Malwatta", }, { id: 4, lat: 8.361795599999999, lng: 81.0062447, location: "Crystal Martin Kanthale", }, { id: 5, lat: 7.3874301, lng: 80.519802, location: "Crystal Martin Galagedara", }, { id: 6, lat:7.922288, lng:80.6845857, location: "Crystal Martin Dambulla", }, ]; function calculateAndDisplayRoute( directionsService, directionsRenderer, from, to, to_location ) { directionsService .route({ origin: from, destination: to, travelMode: google.maps.TravelMode.DRIVING, }) .then((response) => { console.log(response); directionsRenderer.setDirections(response); var from_marker = addMarker(from); var to_marker = addMarker(to); markers.push(from_marker); var msg = '</br><a target="_blank" href="' + generatedirectionslink(from, to) + '" >' + "Get Directions" + "</a>"; addInfoWindow(to_marker, to_location + msg); markers.push(to_marker); // markers.push(marker); }) .catch((e) => console.log(e)); } // console.log(current_location); // coords_array['Katunayake']={lat:7.1612041,lng:79.8475075} function getLocation() { // console.log('aa'); if (navigator.geolocation) { return navigator.geolocation.getCurrentPosition(showPosition); } else { alert("Geolocation is not supported by this browser."); } } function showPosition(position) { // console.log(position); current_location = { lat: position.coords.latitude, lng: position.coords.longitude, }; setTimeout(() => { current_location_arr.push(current_location); // console.log(current_location); }, 1000); } getLocation(); var apn = ""; apn += '<option valuye="' + "all" + '">' + "All" + "</option>"; coords_array.forEach((entry) => { apn += '<option value="' + entry.id + '">' + entry.location + "</option>"; var coords = new google.maps.LatLng(entry.lat, entry.lng); var marker = new google.maps.Marker({ position: coords, map, title: "", }); markers.push(marker); var msg = '</br><a target="_blank" href="' + generatedirectionslink("", {lat:entry.lat,lng:entry.lng}) + '" >' + "Get Directions" + "</a>"; addInfoWindow(marker, entry.location + msg); }); document.getElementById("direction").innerHTML = apn; // console.log(current_location); function addInfoWindow(marker, message) { var infoWindow = new google.maps.InfoWindow({ content: message, }); google.maps.event.addListener(marker, "click", function () { infoWindow.open(map, marker); console.log(message); console.log(this.position); }); } function addMarker(location) { marker = new google.maps.Marker({ position: location, map: map, }); return marker; } function setMapOnAll(map) { for (let i = 0; i < markers.length; i++) { markers[i].setMap(map); } } const onChangeHandler = function (e) { console.log(e.target.value); var idx = e.target.value; setMapOnAll(); if (idx == "All") { // alert("idx"); directionsRenderer.setMap(null); coords_array.forEach((entry) => { var coords = new google.maps.LatLng(entry.lat, entry.lng); var marker = new google.maps.Marker({ position: coords, map, title: "", }); markers.push(marker); var msg = '</br><a target="_blank" href="' + generatedirectionslink('', {lat:entry.lat,lng:entry.lng}) + '" >' + "Get Directions" + "</a>"; addInfoWindow(marker, entry.location + msg); }); } else { var entry = coords_array[idx]; // console.log(entry); getLocation_2(); function getLocation_2() { // console.log('aa'); if (navigator.geolocation) { return navigator.geolocation.getCurrentPosition(showPosition_2); } else { alert("Geolocation is not supported by this browser."); } } function showPosition_2(position) { // console.log(position); var from = { lat: position.coords.latitude, lng: position.coords.longitude, }; console.log(from); var e = document.getElementById("direction"); var strUser = e.value; var entry1 = coords_array[idx - 1]; var to = { lat: entry1.lat, lng: entry1.lng }; var to_location = entry1.location; console.log(entry1); calculateAndDisplayRoute( directionsService, directionsRenderer, from, to, to_location ); } } }; document .getElementById("direction") .addEventListener("change", onChangeHandler); } function generatedirectionslink(origin_coords, des_coords) { var uri = "https://www.google.com/maps/dir/?api=1&"; var origin = ""; if (origin_coords != "") { origin = "orgin=" + origin_coords.lat + "," + origin_coords.lng + "&"; } return encodeURI( uri + origin + "destination=" + des_coords.lat + "," + des_coords.lng ); } </script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAziW2tZSZOtYWQ6FEmfiTXJQfRp-bCXI4&callback=initMap2&libraries=&v=weekly" async ></script> <script type="text/javascript">function showhide_toggle(e,t,r,g){var a=jQuery("#"+e+"-link-"+t),s=jQuery("a",a),i=jQuery("#"+e+"-content-"+t),l=jQuery("#"+e+"-toggle-"+t);a.toggleClass("sh-show sh-hide"),i.toggleClass("sh-show sh-hide").toggle(),"true"===s.attr("aria-expanded")?s.attr("aria-expanded","false"):s.attr("aria-expanded","true"),l.text()===r?(l.text(g),a.trigger("sh-link:more")):(l.text(r),a.trigger("sh-link:less")),a.trigger("sh-link:toggle")}</script> <script type="text/html" id="wpb-modifications"></script><link rel='stylesheet' id='redux-custom-fonts-css' href='//www.crystal-martin.lk/wp-content/uploads/redux/custom-fonts/fonts.css?ver=1732523780' media='all' /> <link rel='stylesheet' id='lightbox2-css' href='https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/bower/lightbox2/dist/css/lightbox.min.css?ver=6.6.0' media='all' /> <link rel='stylesheet' id='vc_pageable_owl-carousel-css-css' href='https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/owl-carousel2-dist/assets/owl.min.css?ver=6.6.0' media='all' /> <script src="https://www.crystal-martin.lk/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=5.7.7" id="swv-js"></script> <script id="contact-form-7-js-extra"> var wpcf7 = {"api":{"root":"https:\/\/www.crystal-martin.lk\/wp-json\/","namespace":"contact-form-7\/v1"}}; </script> <script src="https://www.crystal-martin.lk/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.7.7" id="contact-form-7-js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.3/jquery.validate.min.js?ver=1.19.3" id="jquery-validation-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/doro-plugin/dist/new-tab.js?ver=3.3.5" id="page-links-to-js"></script> <script src="https://www.crystal-martin.lk/wp-includes/js/comment-reply.min.js?ver=6.7.1" id="comment-reply-js" async data-wp-strategy="async"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=6.6.0" id="wpb_composer_front_js-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/popper.min.js?ver=1.12.5" id="popper-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/bootstrap.js?ver=4.1.3" id="bootstrap-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/jquery.cookie.min.js?ver=1.4.1" id="jquery-cookie-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/owl.carousel.min.js?ver=2.3.4" id="owl.carousel-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/jquery.fitvids.min.js?ver=1.1" id="jquery-fitvids-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/jquery.matchHeight.min.js" id="jquery-matchHeight-js"></script> <script async="async" src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/modernizr.js?ver=2.8.3" id="modernizr-js"></script> <script async="async" src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/jquery.magnific-popup.min.js?ver=1.1.0" id="jquery-magnific-popup-js"></script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/libs/jquery.waitforimages.min.js?ver=2.0.2" id="jquery-waitforimages-js"></script> <script id="porto-theme-js-extra"> var js_porto_vars = {"rtl":"","theme_url":"https:\/\/www.crystal-martin.lk\/wp-content\/themes\/porto","ajax_url":"https:\/\/www.crystal-martin.lk\/wp-admin\/admin-ajax.php","change_logo":"1","container_width":"1140","grid_gutter_width":"30","show_sticky_header":"","show_sticky_header_tablet":"1","show_sticky_header_mobile":"1","ajax_loader_url":"\/\/www.crystal-martin.lk\/wp-content\/themes\/porto\/images\/ajax-loader@2x.gif","category_ajax":"","compare_popup":"","compare_popup_title":"","prdctfltr_ajax":"","slider_loop":"1","slider_autoplay":"1","slider_autoheight":"1","slider_speed":"5000","slider_nav":"","slider_nav_hover":"1","slider_margin":"","slider_dots":"1","slider_animatein":"","slider_animateout":"","product_thumbs_count":"4","product_zoom":"1","product_zoom_mobile":"1","product_image_popup":"1","zoom_type":"inner","zoom_scroll":"1","zoom_lens_size":"200","zoom_lens_shape":"square","zoom_contain_lens":"1","zoom_lens_border":"1","zoom_border_color":"#888888","zoom_border":"0","screen_lg":"1170","mfp_counter":"%curr% of %total%","mfp_img_error":"<a href=\"%url%\">The image<\/a> could not be loaded.","mfp_ajax_error":"<a href=\"%url%\">The content<\/a> could not be loaded.","popup_close":"Close","popup_prev":"Previous","popup_next":"Next","request_error":"The requested content cannot be loaded.<br\/>Please try again later.","loader_text":"Loading...","submenu_back":"Back","porto_nonce":"5cfb4e67f2","use_skeleton_screen":[],"user_edit_pages":""}; </script> <script src="https://www.crystal-martin.lk/wp-content/themes/porto/js/theme.js?ver=6.1.8" id="porto-theme-js"></script> <script async="async" src="https://www.crystal-martin.lk/wp-content/themes/porto/js/theme-async.js?ver=6.1.8" id="porto-theme-async-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/bower/lightbox2/dist/js/lightbox.min.js?ver=6.6.0" id="lightbox2-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/bower/masonry/dist/masonry.pkgd.min.js?ver=6.6.0" id="vc_masonry-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/owl-carousel2-dist/owl.carousel.min.js?ver=6.6.0" id="vc_pageable_owl-carousel-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/bower/imagesloaded/imagesloaded.pkgd.min.js?ver=6.6.0" id="vc_grid-js-imagesloaded-js"></script> <script src="https://www.crystal-martin.lk/wp-includes/js/underscore.min.js?ver=1.13.7" id="underscore-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/lib/vc_waypoints/vc-waypoints.min.js?ver=6.6.0" id="vc_waypoints-js"></script> <script src="https://www.crystal-martin.lk/wp-content/plugins/js_composer/assets/js/dist/vc_grid.min.js?ver=6.6.0" id="vc_grid-js"></script> </body> </html>