var map_data = {"restaurants": [{"id":"19708","name":"Crab House at Pier 39","lat":"37.8083","lng":"-122.409","address":"203C Pier 39","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.01693693021328573"}, {"id":"5879","name":"Fog Harbor Fish House","lat":"37.8089","lng":"-122.41","address":"Pier 39 #A-202","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.0849706287865035"}, {"id":"57232","name":"Pier Market Seafood Restaurant - Pier 39 SF","lat":"37.8093","lng":"-122.41","address":"Pier 39","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1026395510529804"}, {"id":"40531","name":"Players Sports Grill & Arcade","lat":"37.8094","lng":"-122.41","address":"Pier 39","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.10543930082483813"}, {"id":"78865","name":"NEPTUNE's Waterfront Grill & Bar","lat":"37.8109","lng":"-122.411","address":"PIER 39","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2110570264311189"}, {"id":"52510","name":"Hana Zen Sushi Bar - Pier 39","lat":"37.8111","lng":"-122.411","address":"Pier 39, Suite M.209 (Beach & Embarcadero)","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22910167655146285"}, {"id":"2534","name":"Butterfly, The Embarcadero","lat":"37.8067","lng":"-122.405","address":"Pier 33, The Embarcadero at Bay Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.22912311359440288"}, {"id":"170743","name":"Forbes Island","lat":"37.8106","lng":"-122.412","address":"Pier 39 Ste 205","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.2547254528551852"}, {"id":"122","name":"Pescatore","lat":"37.8062","lng":"-122.414","address":"2455 Mason Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.29002574903619194"}, {"id":"6756","name":"Franciscan Crab Restaurant","lat":"37.809","lng":"-122.415","address":"Pier 43 1/2","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3184572694532298"}, {"id":"4096","name":"Bistro Boudin","lat":"37.8083","lng":"-122.415","address":"160 Jefferson St, Upper Level","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3336149922337941"}, {"id":"99472","name":"Fior D'Italia","lat":"37.8043","lng":"-122.413","address":"2237 Mason Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.36068128432347824"}, {"id":"22792","name":"Fishermen's Grotto #9","lat":"37.8084","lng":"-122.416","address":"2847 Taylor Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3746124237635028"}, {"id":"3414","name":"Alioto's","lat":"37.8093","lng":"-122.417","address":"#8 Fisherman's Wharf","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.42142732578047726"}, {"id":"66796","name":"Park Tavern","lat":"37.8011","lng":"-122.409","address":"1652 Stockton Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.482547170125321"}, {"id":"102280","name":"Scoma's Restaurant","lat":"37.809","lng":"-122.418","address":"1 Al Scoma Way Pier 47, Fisherman's Wharf","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4939060414028587"}, {"id":"112810","name":"FOG CITY","lat":"37.8035","lng":"-122.402","address":"1300 Battery Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5020178203407893"}, {"id":"688","name":"Il Fornaio - San Francisco","lat":"37.8029","lng":"-122.402","address":"1265 Battery St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5158728911262802"}, {"id":"61738","name":"Acquolina","lat":"37.8006","lng":"-122.409","address":"1600 Stockton Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5216540533333172"}, {"id":"7517","name":"Piazza Pellegrini","lat":"37.8006","lng":"-122.411","address":"659 Columbus Ave","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5271745420502281"}],"parking": [{"id":"5229","name":"Radisson Hotel Fisherman's Wharf","lat":"37.8077","lng":"-122.413","address":"250 Beach St.","city":"San Francisco","milesFrom":"0.2204089659090864"}, {"id":"2290","name":"Ace Parking","lat":"37.8055","lng":"-122.406","address":"55 Francisco St.","city":"San Francisco","milesFrom":"0.24312478244034214"}, {"id":"5238","name":"Pier 29 ½","lat":"37.8056","lng":"-122.404","address":"1282 Embarcadero","city":"San Francisco","milesFrom":"0.3229955588879101"}, {"id":"2284","name":"Seawall Lot","lat":"37.8089","lng":"-122.415","address":"223 The Embarcadero","city":"San Francisco","milesFrom":"0.33238278670916727"}, {"id":"4344","name":"Propark","lat":"37.8057","lng":"-122.417","address":"1250 Columbus Ave.","city":"San Francisco","milesFrom":"0.4674112322365485"}, {"id":"4552","name":"Pier 2620 Hotel","lat":"37.8055","lng":"-122.417","address":"2620 Jones St.","city":"San Francisco","milesFrom":"0.472455103085701"}, {"id":"2287","name":"Anchorage Square","lat":"37.8073","lng":"-122.418","address":"500 Beach St","city":"San Francisco","milesFrom":"0.49458289319508564"}, {"id":"4803","name":"Propark","lat":"37.8065","lng":"-122.42","address":"655 Beach St","city":"San Francisco","milesFrom":"0.6107208598738"}, {"id":"5236","name":"Pier 19 1/2","lat":"37.8023","lng":"-122.4","address":"1098 Embarcadero","city":"San Francisco","milesFrom":"0.6339464479418705"}, {"id":"4847","name":"Priority Parking","lat":"37.8011","lng":"-122.4","address":"1050 Front St.","city":"San Francisco","milesFrom":"0.6892797519137761"}, {"id":"5819","name":"Bridge Parking","lat":"37.7982","lng":"-122.405","address":"470 Broadway St.","city":"San Francisco","milesFrom":"0.7182367286950655"}, {"id":"4846","name":"Priority Parking","lat":"37.7978","lng":"-122.402","address":"825 Sansome St.","city":"San Francisco","milesFrom":"0.8079363982376649"}, {"id":"4734","name":"Priority Parking","lat":"37.7988","lng":"-122.4","address":"90 Broadway St.","city":"San Francisco","milesFrom":"0.8087841734348212"}, {"id":"5076","name":"American West Parking","lat":"37.7976","lng":"-122.402","address":"350 Pacific Ave.","city":"San Francisco","milesFrom":"0.8200402843031266"}, {"id":"3726","name":"Ace Parking","lat":"37.7968","lng":"-122.404","address":"528 Jackson St.","city":"San Francisco","milesFrom":"0.8272890828905471"}, {"id":"5097","name":"Propark","lat":"37.7983","lng":"-122.4","address":"750 Front St.","city":"San Fran","milesFrom":"0.8364837857464702"}, {"id":"4960","name":"Priority Parking","lat":"37.7989","lng":"-122.399","address":"50 Broadway St.","city":"San Francisco","milesFrom":"0.8378187631072208"}, {"id":"4610","name":"California Parking","lat":"37.7962","lng":"-122.405","address":"555 Jackson St.","city":"San Francisco","milesFrom":"0.8508607431512492"}, {"id":"2295","name":"Ace Parking","lat":"37.7953","lng":"-122.404","address":"643 Washington St.","city":"San Francisco","milesFrom":"0.9257146148895751"}, {"id":"5440","name":"Le Méridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","city":"San Francisco","milesFrom":"1.0237182549819144"}],"hotels": [{"id":"181090","name":"Radisson Hotel Fisherman's Wharf","lat":"37.8077","lng":"-122.413","address":"250 Beach Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/radisson-fisherman-s-wharf.html?aid=802549","class":"3","milesFrom":"0.2204089659090864"}, {"id":"58891","name":"Sheraton Fisherman's Wharf","lat":"37.8064","lng":"-122.414","address":"2500 Mason Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/sheraton-fishermans-wharf.html?aid=802549","class":"4","milesFrom":"0.2974461419254913"}, {"id":"57332","name":"Best Western PLUS The Tuscan","lat":"37.8064","lng":"-122.414","address":"425 North Point Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/tuscan-inn.html?aid=802549","class":"3","milesFrom":"0.2974461419254913"}, {"id":"181938","name":"Holiday Inn Express Hotel & Suites Fisherman's Wharf","lat":"37.8064","lng":"-122.416","address":"550 North Point Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/holiday-inn-express-san-francisco.html?aid=802549","class":"3","milesFrom":"0.40001823070817405"}, {"id":"374407","name":"Hyatt Fisherman's Wharf","lat":"37.806","lng":"-122.416","address":"555 North Point Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hyatt-fisherman-s-wharf.html?aid=802549","class":"4","milesFrom":"0.40900936248787056"}, {"id":"29866","name":"Pier 2620 Hotel Fisherman's Wharf","lat":"37.8054","lng":"-122.417","address":"2620 Jones Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/pier-2620-hotel.html?aid=802549","class":"4","milesFrom":"0.4751052594551678"}, {"id":"507794","name":"Washington Square Inn","lat":"37.8012","lng":"-122.409","address":"1660 Stockton Street ","city":"San Francisco","url":"http://www.booking.com/hotel/us/washington-square-inn-san-francisco.html?aid=802549","class":"3","milesFrom":"0.4768277413230821"}, {"id":"181947","name":"Holiday Inn Fisherman's Wharf","lat":"37.8063","lng":"-122.418","address":"1300 Columbus Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/holiday-inn-san-francisco1.html?aid=802549","class":"3","milesFrom":"0.5069813349273844"}, {"id":"239744","name":"Marriott San Francisco Fisherman's Wharf","lat":"37.8056","lng":"-122.418","address":"1250 Columbus Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/marriott-san-francisco-fisherman-s-wharf.html?aid=802549","class":"4","milesFrom":"0.5210111522492779"}, {"id":"263698","name":"Courtyard by Marriott Fishermans Wharf","lat":"37.8071","lng":"-122.419","address":"580 Beach Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/courtyard-fishermans-wharf.html?aid=802549","class":"4","milesFrom":"0.5504214036897865"}, {"id":"58933","name":"Argonaut, a Kimpton Hotel","lat":"37.8076","lng":"-122.42","address":"495 Jefferson Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/argonaut-sf.html?aid=802549","class":"4","milesFrom":"0.6016056046308108"}, {"id":"56187","name":"Hotel Boheme","lat":"37.7991","lng":"-122.408","address":"444 Columbus Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/boheme.html?aid=802549","class":"3","milesFrom":"0.6244523721652228"}, {"id":"59818","name":"SW Hotel","lat":"37.7977","lng":"-122.407","address":"615 Broadway","city":"San Francisco","url":"http://www.booking.com/hotel/us/sw.html?aid=802549","class":"3","milesFrom":"0.7270372267423837"}, {"id":"174083","name":"The Fairmont Heritage Place Ghirardelli Square","lat":"37.8061","lng":"-122.423","address":"900 North Point Square","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-fairmont-heritage-place-ghirardelli-square.html?aid=802549","class":"5","milesFrom":"0.7767192102780969"}, {"id":"59284","name":"Hilton San Francisco Financial District","lat":"37.7951","lng":"-122.405","address":"750 Kearny Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/hilton-san-francisco-financial-district.html?aid=802549","class":"4","milesFrom":"0.9244389510429483"}, {"id":"56066","name":"Club Quarters San Francisco","lat":"37.795","lng":"-122.401","address":"424 Clay Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/club-quarters-san-francisco.html?aid=802549","class":"3","milesFrom":"1.0051593084398416"}, {"id":"1096975","name":"Washington Suites","lat":"37.7941","lng":"-122.414","address":"1265 Washington Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/washington-suites-san-francisco.html?aid=802549","class":"4","milesFrom":"1.0052141993975436"}, {"id":"56442","name":"Le Meridien San Francisco","lat":"37.7949","lng":"-122.401","address":"333 Battery Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/le-meridian-san-francisco.html?aid=802549","class":"4","milesFrom":"1.0113370250020648"}, {"id":"320549","name":"Da Vinci Villa","lat":"37.7992","lng":"-122.424","address":"2550 Van Ness Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/san-francisco-2550-van-ness-avenue.html?aid=802549","class":"3","milesFrom":"1.0245743413791975"}, {"id":"242043","name":"Pacific Heights Inn","lat":"37.7983","lng":"-122.425","address":"1555 Union Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-pacific-heights-inn.html?aid=802549","class":"3","milesFrom":"1.1055330407589297"}],"notveryclose" : 20,"quiteclose" : 4,"veryclose" : 2}