  var centerLat = 32.78250021610117;
  var centerLon = -117.2513897716999;
  var zoomLevel = 12;
  var poiName = 'San Diego';
  var poiLat = 32.78250021610117;
  var poiLon = -117.2513897716999;
  var properties = [
   ['Ocean Inn', 33.0729511349548, -117.305282056331, ' 1444 North Coast Highway 101 | Encinitas, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_45906', ' Within walking distance of the beach, this inn is located in Encinitas, California and offers convenient access to several attractions as well as comfortable amenities. Ocean Inn is within 5 miles ...', 2],
['Motel 6 Oceanside Downtown', 33.2020678266185, -117.385193109512, ' 909 North Coast Highway | Oceanside, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_21767', ' This Oceanside hotel offers comfortable accommodation within one mile (1.6 km) of the city centre and minutes away from Plaza Camino Real, Camp Pendleton and the Oceanside Pier.Motel 6 features an o ...', 2],
['Days Inn Oceanside At The Coast', 33.2080554776878, -117.388022840023, ' 1501 Carmelo Drive | Oceanside, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=44225', ' Welcome to Days Inn Oceanside, CA. We are centrally located between Los Angeles and San Diego off of Interstate 5 near Oceanside Harbor. We are only minutes from Camp Pendleton and within walking dist ...', 3],
['Holiday Inn Oceanside Marina Harbor Area', 33.2077816884862, -117.387912869453, ' 1401 Carmelo Drive | Oceanside, CA', 'http://www.jdoqocy.com/click-2700334-10478530?url=http://www.ichotelsgroup.com/redirect?path=hd&amp;brandCode=hi&amp;hotelCode=ocnpc&amp;_PMID=99613032&amp;cm_mmc=CJ-_-9223372036854775807-_-2700334-_-Holiday%20Inn%20Oceanside%20Marina', ' Directly off the I-5 motorway, minutes from Oceanside Harbor and Camp Pendleton Marine Corps Base, this Oceanside, California hotel features an on-site restaurant and spacious guestrooms featuring mic ...', 3],
['Oceanside Travelodge', 33.2078815543188, -117.386688441038, ' 1401 North Coast Highway | Oceanside, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=42122', ' The Oceanside Travelodge is positioned as a -Gateway to San Diego- providing very mild, beautiful weather All Year Round. Whether you are traveling for Business or Leisure, the Oceanside Travelodge is ...', 1],
['Oceanside Marina Suites', 33.2094176784444, -117.397297918796, ' 2008 Harbor Drive North | Oceanside, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=4360505', ' The Oceanside Marina Suites is uniquely secluded in the Ocenaside Harbor; you\'ll be steps away from water sports, harbor shopping, dining, and nightlife. Close to all the best of Southern California ...', 2],
['Carlsbad Inn Beach Resort', 33.1573270302103, -117.351104915142, ' 3075 Carlsbad Boulevard | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_268606', ' This Carlsbad beach resort is located 5 miles from the Sea Life Aquarium. It features an outdoor pool with jacuzzi and a dry sauna with guest rooms that include kitchenettes.The rooms at Carlsbad In ...', 3],
['Beach Terrace Inn', 33.1592176955788, -117.35443085432, ' 2775 Ocean Street | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=43135', ' Placed directly on the beach in Carlsbad, California, within walking distance of dining and shopping, this hotel offers contemporary guestrooms with free wireless internet access and a free continenta ...', 3],
['Best Western Plus Beach View Lodge', 33.1557675374226, -117.350353896617, ' 3180 Carlsbad Blvd. | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=43061', ' Retreat to this Carlsbad, California hotel offering beautiful Pacific Ocean views and convenient access to the Village of Carlsbad, Legoland, Camp Pendleton and San Diego. Welcome to the BEST WESTERN ...', 2],
['Extended Stay America San Diego - Carlsbad Village By The Sea', 33.1644628435619, -117.34375834465, ' 1050 Grand Avenue | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=5714205', 'Welcome to Extended Stay America San Diego - Carlsbad Village by the Sea. Our hotel is designed especially...', 2],
['Comfort Inn Near Legoland Carlsbad', 33.1549670094759, -117.33714133501, ' 3700 Pio Pico Dr. | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=2242805', ' We are centrally located in the heart of Carlsbad. We are within a mile of downtown Carlsbad where there is a variety of boutiques and delicious restaurants. Nearby attractions include the seasonal Ca ...', 2],
['West Inn &amp;; Suites', 33.1353096794563, -117.331269979476, ' 4970 Avenida Encinas | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=7649305', 'West Inn &amp; Suites in Carlsbad, California is a unique boutique hotel offering the ultimate in luxurious detail and an ideal location for both the business and leisure traveler...', 3],
['Hyatt Summerfield Suites San Diego/carlsbad', 33.1330905702288, -117.329910099506, ' 5010 Avenida Encinas | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1779903', ' Minutes away from top area attractions, including Legoland, this Carlsbad hotel is in an ideal location and provides guests with a number of modern and complimentary amenities and services.Hyatt Sum ...', 3],
['Carlsbad By The Sea Resort', 33.123144318701, -117.320900559425, ' 850 Palomar Airport Road | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_294650', ' This Carlsbad hotel features an outdoor pool and spacious rooms with a flat-screen TV and free Wi-Fi. A free shuttle is offered to and from McClellan-Palomar Airport, just 3.1 miles away.All rooms  ...', 3],
['Grand Pacific Palisades Resort And Hotel', 33.124366321785, -117.314988970756, ' 5805 Armada Drive | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=176702', ' Look no further this is the best coastal family resort in North San Diego. Located adjacent to LEGOLAND with pedestrian guest entrance overlooking the ocean this resort has everything for your family  ...', 3],
['Motel 6 Carlsbad East', 33.1189851127595, -117.319336831569, ' 6117 Paseo Del Norte | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_271276', 'WiFi available in all guest rooms for a nominal fee...', 2],
['Carlsbad Seapointe Resort', 33.1133564488857, -117.32219338417, ' 6400 Surfside Lane | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_268339', 'Carlsbad Seapointe Resort offers an unbelievable location for visitors visiting San Diego. These vacation condos sit along some of the most beautiful beaches...', 3],
['Hilton Garden Inn Carlsbad Beach', 32.1210327291751, -117.326431274414, ' 6450 Carlsbad Boulevard | Carlsbad, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=66399', ' Located directly across from Carlsbad Beach this California hotel offers comfortable accommodations and delicious dining selections just one mile (1.6 km) from Legoland. The Carlsbad Flower Fields and ...', 3],
['Hotel La Jolla At The Shores', 32.8512184642612, -117.253241837024, ' 7955 La Jolla Shores Drive | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=42759', ' With ocean view rooms and personalized boutique service, Hotel La Jolla offers stylish comfort in the upscale beachfront community of La Jolla Shores. Located on what is known as the California Rivier ...', 0],
['L`auberge Del Mar Resort And Spa', 32.9601356752962, -117.265974283218, ' 1540 Camino Del Mar | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=38983', ' Steps from the beaches of the Pacific Ocean, in the village of Del Mar, this luxury resort and spa offers first-class amenities and accommodations, in close proximity to many popular attractions.  ...', 4],
['Del Mar Motel On The Beach', 32.9624986745895, -117.26743876934, ' 1702 Coast Blvd | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=4448105', ' Our quaint boutique hotel is located directly on the beautiful beach of Del Mar. With views so spectacular you ll never want to leave. Come and enjoy the rhythmic sound of the Pacific Ocean from one  ...', 1],
['Hampton Inn San Diego/del Mar', 32.9349556828468, -117.23860502243, ' 11920 El Camino Real | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1727304', ' Featuring easy access to several area motorways, this hotel allows guests to easily explore area attractions and nearby cities, and offers comfortable accommodation and thoughtful amenities.The Hamp ...', 3],
['Doubletree Hotel San Diego/del Mar', 32.9358651414392, -117.236255407333, ' 11915 El Camino Real | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=39035', ' Moments from Torrey Pines State Beach and conveniently off motorway I-5, this family-friendly hotel features state-of-the-art amenities and facilities as well as friendly service and spacious accommod ...', 3],
['Homewood Suites By Hilton San Diego-del Mar', 32.9165191215582, -117.229174375534, ' 11025 Vista Sorrento Parkway | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=3402204', ' Offering all the comforts of home and more, including full kitchens, this all-suite hotel is ideally located minutes from top area attractions, including beautiful beaches and San Diego city centre ....', 3],
['Hilton La Jolla Torrey Pines', 32.917181094137, -117.228860557079, ' 10950 North Torrey Pines Road | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=41993', ' Be inspired by one of the most exceptional settings in Southern California. Atop the bluffs of La Jolla California overlooking the legendary Torrey Pines Golf Course and the majestic Pacific Ocean sit ...', 4],
['Sheraton La Jolla Hotel', 32.8705978970407, -117.232045680284, ' 3299 Holiday Court | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=41793', ' A warm southern California welcome awaits you at the Sheraton La Jolla Hotel, a low-rise resort-style hotel encompassing 7.5 acres of tropical beauty. Just a five-minute drive from spectacular beaches ...', 3],
['La Jolla Cove Suites', 32.8497177700467, -117.273173332214, ' 1155 Coast Boulevard | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=2984305', ' San Diegos premier oceanfront family resort. Located in the picturesque seaside village of La Jolla. With its striking Mediterranean influence La Jolla has gained a well-deserved reputation as one of  ...', 0],
['La Jolla Inn', 32.8481674766994, -117.274011522531, ' 1110 Prospect Street | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1581803', ' The La Jolla Inn is located in the heart of the quaint village of La Jolla. Step outside our door and you will be surrounded by unique shops, exclusive art galleries and fine dining. We are just steps ...', 2],
['Hotel Parisi La Jolla', 32.8481066361466, -117.273267209529, ' 1111 Prospect Street | Del Mar, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=460703', ' Hotel Parisi is a beautiful urban boutique retreat featuring just 29 guest suites ranging from 450 to 700 square feet several offering partial ocean views. It has been described as having perfect Zen ...', 2],
['The Grande Colonial Hotel La Jolla', 32.8471737424464, -117.275368720293, ' 910 Prospect Street | La Jolla, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=2984905', ' The Grande Colonial hotel reflects the charm and sophistication of the seaside Village of La Jolla. Just minutes away from all of San Diego\'s attractions such as Sea World, Legoland, Balboa Park, as  ...', 3],
['Embassy Suites San Diego - La Jolla', 32.8745131479751, -117.208703756332, ' 4550 La Jolla Village Drive | La Jolla, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=39341', ' Nestled in the University Towne Centre area of San Diego, this all-suite hotel offers comfortable accommodations and relaxing services just a short drive from the beautiful seaside village of La Jolla ...', 3],
['Catamaran Resort Hotel And Spa', 32.7898879153136, -117.25287169218, ' 3999 Mission Boulevard, | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=42663', ' Located 100 yards from the Pacific Ocean, this San Diego resort features an outdoor pool and full-service spa with beauty treatments. Rooms at the resort include free Wi-Fi.Catamaran Resort Hotel &amp;;a ...', 4],
['Surfer Beach Hotel', 32.7907932256418, -117.255053669214, ' 711 Pacific Beach Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_56246', ' Situated directly on the beach and only minutes from attractions such as SeaWorld and the San Diego Zoo, this hotel offers comfortable guestrooms and an on-site restaurant.Surfer Beach Hotel feature ...', 3],
['Beach Haven Inn', 32.7999416416287, -117.256868183612, ' 4740 Mission Boulevard | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1728103', ' One block from the stunning Pacific Ocean, this motel in San Diego\'s Pacific Beach neighborhood offers relaxing facilities and friendly services in an ideal location.Beach Haven Inn features an outd ...', 2],
['Capri By The Sea Condominiums', 32.800464701908, -117.258378267288, ' 628 Missouri Street | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=42873', ' When you vacation at the Capri By The Sea Condos, you will enjoy all the comforts of home on the seashore. Alongside the sweeping sands that stretch from La Jolla to Mission Bay, you can enjoy the hea ...', 0],
['The Dana On Mission Bay', 32.7662428628885, -117.237487882375, ' 1710 West Mission Bay Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=40736', ' Located adjacent to San Diego\'s Sunset Park, this luxurious hotel offers guests a waterfront setting on Mission Bay just one mile (1.6 km) from the beach and minutes from several area attractions.Da ...', 3],
['Pacific Shores Inn', 32.8013270682783, -117.257761359214, ' 4802 Mission Boulevard | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=3770305', ' Only moments from Mission Beach, this cosy inn in San Diego, California provides guests with a great location near the boardwalk, in addition to convenient amenities and services.Pacific Shores Inn  ...', 2],
['Holiday Inn Express San Diego - Sea World Area', 32.7558762985915, -117.220135331153, ' 3950 Jupiter Street | San Diego, CA', 'http://www.tkqlhce.com/click-2700334-10478530?url=http://www.ichotelsgroup.com/redirect?path=hd&amp;brandCode=ex&amp;hotelCode=sanex&amp;_PMID=99613032&amp;cm_mmc=CJ-_-9223372036854775807-_-2700334-_-Holiday%20Inn%20Express%20San%20Diego-Sea%20World%20Area', ' Directly off Interstate 8, near attractions such as SeaWorld, this San Diego, California hotel offers thoughtful amenities such as a free, hot breakfast buffet every morning.Holiday Inn Express San  ...', 2],
['Hilton San Diego Resort &amp;; Spa', 32.7789084620943, -117.209776639938, ' 1775 East Mission Bay Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=39537', ' Nestled on San Diego\'s famous Mission Bay, this resort offers luxurious spa services, a variety of recreational activities and great dining choices just one mile (1.6 km) from SeaWorld.Hilton San Di ...', 4],
['Heritage Inn San Diego', 32.7561007398213, -117.219062447547, ' 3333 Channel Way | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=17201504', ' This pet-friendly hotel is located minutes from many of San Diego\'s main attractions, including the San Diego Zoo and offers a free daily breakfast and guestrooms furnished with modern amenities.Sta ...', 2],
['Hotel Del Coronado', 32.6809241897274, -117.178448438644, ' 1500 Orange Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_24336', ' This historic hotel is ideally situated along California\'s Pacific coastline and boasts luxurious accommodations, first-class amenities and exceptional service, in a charming Victorian-style atmospher ...', 4],
['La Avenida Inn', 32.6832235156624, -117.178196310997, ' 1315 Orange Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=12339504', ' Exceptional hospitality awaits you at the La Avenida Inn on Southern California\'s Coronado Island. The Inn is located just one half block from the world renowned Hotel del Coronado and just one block  ...', 3],
['El Cordova', 32.6824785269971, -117.177604883909, ' 1351-51orange Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1728003', ' Located in the former mansion of an industrialist, this Coronado hotel features a classic Spanish village style courtyard that contains gardens, boutique shops and four on-site restaurants.The elega ...', 3],
['Glorietta Bay Inn', 32.681420858172, -117.17630803585, ' 1630 Glorietta Boulevard | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_243003', ' This California boutique hotel overlooks Coronado Bay and is 5 mile from downtown San Diego. This hotel features a continental breakfast, outdoor pool and free Wi-Fi in every room.Rooms at the Glori ...', 3],
['1906 Lodge At Coronado Beach', 32.6835869775738, -117.176663428544, ' 1060 Adella Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=17764604', ' Expect total relaxation at San Diegos most extraordinary beach lodging. Choose from six guest rooms in the totally restored historic lodge, plus 11 new luxury suites with fireplace, wet bar, refrigera ...', 2],
['Coronado Island Inn', 32.6955871623871, -117.173663377761, ' 301 Orange Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1472505', ' We offer our guests complimentary continental breakfast, free parking and great rates, close to shops restaurants and passenger ferry to San Diego. We are just minutes away from all military bases an ...', 0],
['Best Western Suites Hotel Coronado Island', 32.6960171616474, -117.1734072268, ' 275 Orange Avenue | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=43208', ' Stay at this charming Coronado Island hotel, centrally located just minutes from several white sandy beaches and all of San Diego\'s attractions. Nicely situated within the beautiful resort community ...', 2],
['Marriott Coronado Island Resort', 32.6948343765425, -117.166204154491, ' 2000 Second Street | Coronado, CA', 'http://www.tkqlhce.com/click-2700334-10406976?url=http%3a%2f%2fwww.marriott.com%2freservations%2fsetAMCookie.mi%3fAFF%3dMarriott_CustomLink%26AFFNAME%3d%25zp%26mid%3d%2fhotels%2ftravel%2fsanci-coronado-island-marriott-resort-and-spa%2f', ' Just across the Bay from downtown San Diego, Coronado Island Marriott Resort &amp;; Spa offers a comfortable atmosphere to restore the balance of life. Our Coronado resort features a health spa, swimming p ...', 4],
['Loews Coronado Bay Resort', 32.631139493941, -117.134666740894, ' 4000 Coronado Bay Road | Coronado, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=41134', ' Loews Coronado Bay Resort On a lush, private 15-acre peninsula, Loews Coronado Bay Resort is a blissful Pacific oasis, with easy access to all the attractions of San Diego. A water lovers paradise ...', 4],
['Harbor Vacations Club', 32.725696774285, -117.205365747213, ' 1880 Harbor Island Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=3917705', ' A truly unique way to spend your vacation, spend the night on a yacht or floating villa on the water in San Diego*s beautiful *Big Bay*. Yachts and floating villas are available for overnight guests w ...', 0],
['Sheraton San Diego Hotel &amp;; Marina', 32.7270077665671, -117.196730375289, ' 1380 Harbor Island Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=41975', ' Nestled at the edge of spectacular San Diego Bay, the Sheraton San Diego Hotel &amp;; Marina enjoys panoramic views of the bay and the city skyline....', 4],
['Hilton San Diego Airport/harbor Island', 32.7249758331367, -117.209018915891, ' 1960 Harbor Island Drive | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=42287', ' Overlooking Harbor Island\'s scenic waterfront, this elegant hotel is moments from San Diego International Airport as well as many area attractions and features free airport shuttles and an outdoor poo ...', 3],
['Comfort Inn Airport At Old Town', 32.7453618901654, -117.186955064535, ' 1955 San Diego Avenue | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=43574', ' Our hotel is located within 3 miles from San Diego Airport, SeaWorld San Diego, San Diego Zoo &amp;; Balboa Park, Petco Park (home of the Padres), Downtown Gaslamp District and beautiful beaches. We offer ...', 2],
['Homewood Suites By Hilton San Diego Airport-liberty Station', 32.7282939192637, -117.218273878097, ' 2576 Laning Road | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=5490703', ' Placed along the waterfront in Liberty Station, an urban community located just minutes from San Diego city centre, this comfortable hotel offers spacious accommodation and convenient services.Homew ...', 3],
['Courtyard By Marriott San Diego Airport/liberty Station', 32.7309146800065, -117.215869277715, ' 2592 Laning Road | San Diego, CA', 'http://www.tkqlhce.com/click-2700334-10406976?url=http%3a%2f%2fwww.marriott.com%2freservations%2fsetAMCookie.mi%3fAFF%3dMarriott_CustomLink%26AFFNAME%3d%25zp%26mid%3d%2fhotels%2ftravel%2fsanal-courtyard-san-diego-airport-liberty-station%2f', ' The waterfront Courtyard by Marriott San Diego Airport hotel at Liberty Station is nestled along the water and located just minutes from SeaWorld, the San Diego Zoo, and the historic Gaslamp district ....', 3],
['Motel 6 San Diego Airport/harbor', 32.7284202771241, -117.173046469688, ' 2353 Pacific Highway | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_191413', ' This hotel is only moments from San Diego International Airport and the historic Gaslamp Quarter. The pet-friendly motel offers guest rooms with free Wi-Fi and mini-refrigerators.Motel 6 San Diego A ...', 2],
['Holiday Inn San Diego-bayside', 32.7257565703938, -117.223679870367, ' 4875 North Harbor Drive | San Diego, CA', 'http://www.tkqlhce.com/click-2700334-10478530?url=http://www.ichotelsgroup.com/redirect?path=hd&amp;brandCode=hi&amp;hotelCode=sanby&amp;_PMID=99613032&amp;cm_mmc=CJ-_-9223372036854775807-_-2700334-_-Holiday%20Inn%20San%20Diego-Bayside', ' Welcome to the Holiday Inn San Diego Bayside Hotel Just minutes from area attractions and the San Diego Airport, our hotel on San Diego Bay is perfect for business or leisure travelers. Always accommo ...', 2],
['Marina Inn And Suites', 32.7245166391004, -117.171280235052, ' 1943 Pacific Highway | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1563604', ' Moments from many popular San Diego attractions, including the San Diego Zoo, this hotel features friendly service as well as many thoughtful amenities, in a convenient and central location.The Mari ...', 2],
['Days Inn San Diego Airport Convention Center/harbor View', 32.724039390704, -117.170930206775, ' 1919 Pacific Highway | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=44174', ' Chairmans Award Property Welcome to Days Inn Harbor View, we are located near all the main attractions - Sea World, San Diego Zoo, San Diego Harbor and San Diego Convention Center. The San Diego Airpo ...', 2],
['Residence Inn San Diego Downtown', 33.7233534121749, -117.17071160674, ' 1747 Pacific Highway | San Diego, CA', 'http://www.tkqlhce.com/click-2700334-10406976?url=http%3a%2f%2fwww.marriott.com%2freservations%2fsetAMCookie.mi%3fAFF%3dMarriott_CustomLink%26AFFNAME%3d%25zp%26mid%3d%2fhotels%2ftravel%2fsanph-residence-inn-san-diego-downtown%2f', ' At our Residence Inn San Diego Downtown hotel, we\'ve perfected the extended-stay experience by combining the comforts of home with a passion for making guests feel welcome. Our all-suite downtown San  ...', 2],
['Days Inn Encinitas - Legoland Moonlight Beach', 33.0478584112635, -117.289109677076, ' 133 Encinitas Blvd | Encinitas, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=40688', ' Conveniently located off Interstate 5 and a short distance from beautiful beaches and major attractions, including Legoland, this hotel offers a variety of modern amenities along with friendly service ...', 3],
['Quality Inn &amp;; Suites Encinitas - Moonlight Beach/legoland/seaworld', 33.0522682800108, -117.295679748058, ' 186 North Hwy 101 | Encinitas, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=1937703', ' Within walking distance to Moonlight Beach, this Encinitas hotel is close to many attractions and offers comfortable accommodations, friendly service and a variety of thoughtful amenities.The Qualit ...', 3],
['Howard Johnson Inn Encinitas', 33.0646738557449, -117.290883958339, ' 607 Leucadia Blvd | Encinitas, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=39680', ' The ideal location for both business and leisure travelers. Convenient location to the Carlsbad Business Centers K2, Acushnet, Callaway Golf, Gemological Institute, Invitrogen, Jet Source, Taylor Mad ...', 2],
['Leucadia Beach Inn', 33.0711990915281, -117.304678559303, ' 1322 North Coast Hwy 101 | Encinitas, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_239123', ' This Encinitas, California is located 6 miles from Legoland and within walking distance of Leucadia Beach. The hotel provides a kitchenette in every room with a microwave and a refrigerator.Each roo ...', 2], ['Southern California Beach Club', 33.1921563318692, -117.382001280784, ' 121 South Pacific Street | Oceanside, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=b_268297', ' ...', 2],
['Ocean Beach Hotel', 32.747906576561, -117.252254784107, ' 5080 Newport Avenue | San Diego, CA', 'http://travel.beachfrontsandiegohotels.com/hotel/?refid=3785&amp;rs_hid=5604604', ' Ocean Beach is a cozy little beach with a small town feel. It\'s the kind of place where people greet one another as they cross paths. Surfers enjoy the waves created by the jetties while swimmers an ...', 2],  ];
  var infowindow = new google.maps.InfoWindow();
function makeInfoWindow(marker, content, theMap){google.maps.event.addListener(marker, 'click', function () {infowindow.setContent(content); infowindow.open(theMap, marker);});}
function setMarkers(map, locations) {var image = new google.maps.MarkerImage('images/bluebed.png', new google.maps.Size(31, 31), new google.maps.Point(0,0), new google.maps.Point(15, 30)); var shadow = new google.maps.MarkerImage('images/shadow.png', new google.maps.Size(47, 31), new google.maps.Point(0,0), new google.maps.Point(15, 30)); for (var i = 0; i < locations.length; i++) {var hotel = locations[i]; var contentString = '<div style="width:260px;"><strong>' + hotel[0] + '</strong><br />' + hotel[3] + '<br /><a href="' + hotel[4] + '"><strong>Rates and Reservations</strong></a><br /><img src="images/star' + hotel[6] + '.jpg" width="77" height="15" alt="rating"><p class="infowindows"><a href="' + hotel[4] + '">Features</a> | <a href="' + hotel[4] + '">Photos</a> (if available)</p><p>' + hotel[5] + '...<a href="' + hotel[4] + '">more</a></p></div>'; var myLatLng = new google.maps.LatLng(hotel[1], hotel[2]); var marker = new google.maps.Marker({position: myLatLng, map: map, shadow: shadow, icon: image, title: hotel[0]}); makeInfoWindow(marker, contentString, map);} google.maps.event.trigger(marker, 'click');}
function initialize() {var myOptions = {zoom: zoomLevel, center: new google.maps.LatLng(centerLat, centerLon), scaleControl: true, scrollwheel: false, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, mapTypeId: google.maps.MapTypeId.ROADMAP}; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var pinImage = new google.maps.MarkerImage('images/bed1.png', new google.maps.Size(37, 38), new google.maps.Point(0,0), new google.maps.Point(18, 38)); var pinShadow = new google.maps.MarkerImage('images/shadow1.png', new google.maps.Size(60, 38), new google.maps.Point(0,0), new google.maps.Point(18, 38)); var marker = new google.maps.Marker({position: new google.maps.LatLng(poiLat, poiLon), map: map, shadow: pinShadow, icon: pinImage}); poiName = '<strong>' + poiName + '</strong>'; makeInfoWindow(marker, poiName, map); google.maps.event.addListener(map, 'click', function() {infowindow.close();}); setMarkers(map, properties);}
