'); $multiInfoBox.append(context1); $multiInfoBox.append(context2); var option1 = jQuery(''); var option2 = jQuery(''); $multiInfoBox.find('select').append(option1); $multiInfoBox.find('select').append(option2); var context = $multiInfoBox.wrap('

').parent().html(); var icon = ait.paths.img + "/pins/multi_pin.png"; var marker = new google.maps.Marker({ position: position, map: MAP.map, icon: icon, // title: marker.title, context: context, isMulti: true, type: type, count: 2, }); google.maps.event.addListener(marker, 'click', function(event) { if (MAP.currentInfoWindow) { MAP.currentInfoWindow.close(); } MAP.map.panTo(marker.getPosition()); MAP.currentInfoWindow = MAP.customInfoWindow(marker); }); return marker; }, appendToMultimarker: function(index, context, id, title){ var $multiInfoBox = jQuery.parseHTML(MAP.placedMarkers[index].context); $multiInfoBox = jQuery($multiInfoBox).append(context); var $select = $multiInfoBox.find('select'); var option = jQuery(''); $select.append(option); var result = $multiInfoBox.wrap('

').parent().html(); MAP.placedMarkers[index].context = result; MAP.placedMarkers[index].count ++; }, setCustomOptions: function(){ if (typeof MAP.params.typeId !== "undefined") { MAP.mapOptions.mapTypeId = google.maps.MapTypeId[MAP.params.typeId]; } MAP.mapOptions.mapTypeControlOptions = { position: google.maps.ControlPosition.LEFT_BOTTOM, style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, }; MAP.mapOptions.streetViewControlOptions = { position: google.maps.ControlPosition.RIGHT_BOTTOM, }; MAP.mapOptions.zoomControlOptions = { position: google.maps.ControlPosition.RIGHT_BOTTOM, }; }, /*enableStreetview: function(){ MAP.panorama = MAP.map.getStreetView(); MAP.panorama.setPosition(new google.maps.LatLng(MAP.params.address.latitude, MAP.params.address.longitude)); var pov = { heading: parseInt(MAP.params.swheading), pitch: parseInt(MAP.params.swpitch), zoom: parseInt(MAP.params.swzoom), }; MAP.panorama.setPov(pov); MAP.panorama.setVisible(true); },*/ clear: function(){ for (var i in MAP.placedMarkers) { var marker = MAP.placedMarkers[i]; marker.setMap(null); } MAP.placedMarkers = []; MAP.locations = []; MAP.clusterer.clearMarkers(); }, }); $window.load(function(){ google.maps.event.addDomListener(window, 'load', MAP.initialize("elm-header-map-3", [{"lat":"22.301402","lng":"114.1759366","title":"Unipro Consulting Limited","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

Unipro Consulting Limited\n\t\tBeverley Commercial Center Room 9 4th floor, TST, Hong Kong\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.27579433290913","lng":"114.17414387530653","title":"Young Global Scholars Limited","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

Young Global Scholars Limited\n\t\t Rooms 805-6, 8th floor, Tai Yau Building, 181 Johnston Road, Wan Chai, Hong Kong\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.27895054999581","lng":"114.17196194375003","title":"C K Yau & Partners CPA Limited","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

C K Yau & Partners CPA Limited\n\t\t11-13\/F., Pico Tower, Gloucester Road, Wanchai, Hong Kong\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2745015","lng":"114.17320489999997","title":"Clement C.W. Chan & Co.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

Clement C.W. Chan & Co.\n\t\t141-145 Queen's Road East, Wan Chai, Hong Kong\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2839445,"lng":114.1560285,"title":"YUEN & PARTNERS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

YUEN & PARTNERS\n\t\t10\/F, CHIYU BANK BUILDING, 78 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.285936","lng":"114.154442","title":"MAK PATRICK & TSE","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

MAK PATRICK & TSE\n\t\t16\/F, NAN FUNG TOWER, 173 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.285381,"lng":114.1554611,"title":"TUNG, NG, TSE & HEUNG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TUNG, NG, TSE & HEUNG\n\t\t26\/F, THE CMA OF HONG KONG BUILDING,64 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2751738,"lng":114.1712519,"title":"ONG & CHUNG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

ONG & CHUNG\n\t\t11\/F, HENG SHAN CENTRE, 145 QUEEN'S ROAD EAST, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.28320166519981","lng":"114.15689163343814","title":"BRIDGE ROBIN & JOHN LIU","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

BRIDGE ROBIN & JOHN LIU\n\t\t5-6\/F & 17\/F, WINCOME CENTRE, 39 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2825522,"lng":114.1577184,"title":"LO & LO","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

LO & LO\n\t\t7\/F, WORLD-WIDE HOUSE,19 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2859926","lng":"114.1516985","title":"HE QILIAN & ASSOCIATES","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

HE QILIAN & ASSOCIATES\n\t\tSUITE 506, 5\/F, OFFICEPLUS,93-103 WING LOK STREET, SHEUNG WAN, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2811763","lng":"114.1592149","title":"CORDELLS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

CORDELLS\n\t\t1309-1310, PRINCE'S BUILDING,10 CHATER ROAD, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2785006","lng":"114.171489","title":"NG AND FANG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

NG AND FANG\n\t\t10\/F, HENAN BUILDING,90 JAFFE ROAD, WANCHAI, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.28206253","lng":"114.1577148","title":"TO & CO., W.K.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TO & CO., W.K.\n\t\t11\/F & 12\/F, WHEELOCK HOUSE, 20 PEDDER STREET, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2849011","lng":"114.1540396","title":"LAM & CO., JAMES P.Y.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

LAM & CO., JAMES P.Y.\n\t\tUNIT B, 18\/F, WING HANG INSURANCE BUILDING,9-17 WING KUT STREET, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2836454,"lng":114.156792,"title":"LEUNG, TAM & WONG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

LEUNG, TAM & WONG\n\t\tROOMS 901-2, 9\/F, THE CHINESE BANK BUILDING, 61-65 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2830124,"lng":114.1591644,"title":"NORTON ROSE FULBRIGHT HONG KONG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

NORTON ROSE FULBRIGHT HONG KONG\n\t\t38\/F, JARDINE HOUSE,1 CONNAUGHT PLACE, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2839885,"lng":114.1566355,"title":"LI, KWOK & LAW","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

LI, KWOK & LAW\n\t\tROOM 403, 4TH FLOOR, WING ON HOUSE,NO.71 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2866561,"lng":114.1530226,"title":"TSANG MARIE, DUSTIN CHAN & CO.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TSANG MARIE, DUSTIN CHAN & CO.\n\t\tUNIT 2303-04, 23\/F, WING ON CENTRE,111 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.396428","lng":"114.109497","title":"AU TONY & PARTNERS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

AU TONY & PARTNERS\n\t\tROOMS 1801, 1808 AND 1809, 18\/F, TOWER 1, LIPPO CENTRE,89 QUEENSWAY, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2855454","lng":"114.1551584","title":"LI & CO., JAMES W.L.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

LI & CO., JAMES W.L.\n\t\tRM 2204, CHINA INSURANCE GROUP BUILDING,141 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2812192","lng":"114.1562658","title":"WANG & CO., ANGELA","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

WANG & CO., ANGELA\n\t\t14\/FLR, SOUTH CHINA BUILDING, 1-3 WYNDHAM STREET, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2799115","lng":"114.1567884","title":"GALL","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

GALL\n\t\t3\/F, DINA HOUSE, RUTTONJEE CENTRE,11 DUDDELL STREET, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.3148595","lng":"114.1700311","title":"FUNG S.Y., SOLICITORS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

FUNG S.Y., SOLICITORS\n\t\tFLAT D, 10\/F, FULL WIN COMMERCIAL CENTRE,573 NATHAN ROAD, MONGKOK, KOWLOON, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.27898254","lng":"114.1634211","title":"HOLMAN FENWICK WILLAN","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

HOLMAN FENWICK WILLAN\n\t\t8\/F & 15\/F, TOWER I, LIPPO CENTRE, 89 QUEENSWAY, ADMIRALTY, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2764257","lng":"114.1692496","title":"CHARLTONS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

CHARLTONS\n\t\t12\/F., DOMINION CENTRE,43-59 QUEEN'S ROAD EAST, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.3297709,"lng":114.161949,"title":"WONG PETER C.O. & ASSOCIATES","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

WONG PETER C.O. & ASSOCIATES\n\t\tFLAT E, 7\/F, CHEUNG ON BUILDING,218 YU CHAU STREET, SHAMSHUIPO, KOWLOON, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.28806795","lng":"114.1517106","title":"MAK & CO., B.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

MAK & CO., B.\n\t\tRMS 3512-13 & 3515, 35\/F, WEST TOWER, SHUN TAK CENTRE,\r168-200 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.3146343","lng":"114.1701667","title":"TSUI & CO., ELI K.K.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TSUI & CO., ELI K.K.\n\t\tRM 1202B, 12\/F, GINZA SQUARE,565-567 NATHAN ROAD, KOWLOON, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2830124","lng":"114.1591644","title":"ECCLES & LEE","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

ECCLES & LEE\n\t\tSUITE 3212, JARDINE HOUSE,1 CONNAUGHT PLACE, CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.285819,"lng":114.1549336,"title":"WALLER MA HUANG & YEUNG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

WALLER MA HUANG & YEUNG\n\t\t20\/F, BEAUTIFUL GROUP TOWER, 77 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2778339","lng":"114.1778286","title":"TANG AND LEE","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TANG AND LEE\n\t\tROOM 706, 7\/F, C.C. WU BUILDING,302-308 HENNESSY ROAD, WANCHAI, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":22.2775495,"lng":114.1686575,"title":"YIU & CO., BRUNO","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

YIU & CO., BRUNO\n\t\t20\/F, EFFECTUAL BUILDING, 16 HENNESSY ROAD,WANCHAI, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.28374034","lng":"114.1569795","title":"CHU JOSEPH, LO & LAU","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

CHU JOSEPH, LO & LAU\n\t\tSUITE 1501 & 1503, CHINACHEM TOWER,34-37 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.285819","lng":"114.1549336","title":"FU AND CHENG","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

FU AND CHENG\n\t\tUNIT 1001, 10\/F, BEAUTIFUL GROUP TOWER,74-77 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.285819","lng":"114.1549336","title":"CC PARTNERS","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

CC PARTNERS\n\t\tUNIT 306, 3\/F., BEAUTIFUL GROUP TOWER,74-77 CONNAUGHT ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2794851","lng":"114.1633245","title":"CHEUK MICHAEL, WONG & KEE","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

CHEUK MICHAEL, WONG & KEE\n\t\tROOM 2102, 21\/F, TOWER 2, LIPPO CENTRE,89 QUEENSWAY, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t
\n\t\timage","type":"item","data":[]},{"lat":"22.2850745","lng":"114.15562","title":"TANG & CO., M.H.","icon":"https:\/\/www.portalhongkong.com\/wp-content\/themes\/directory2\/design\/img\/pins\/default_pin.png","context":"
\n\t\t

TANG & CO., M.H.\n\t\tROOM 1206, 12\/F., FAR EAST CONSORTIUM BUILDING,121 DES VOEUX ROAD CENTRAL, HONG KONG\n\t\t\n\t\t\tShow More\n\t\t\n\t\n\t