var map_data = {"restaurants": [{"id":"112810","name":"FOG CITY","lat":"37.8035","lng":"-122.402","address":"1300 Battery Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.14649571525682967"}, {"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.14823484644550808"}, {"id":"688","name":"Il Fornaio - San Francisco","lat":"37.8029","lng":"-122.402","address":"1265 Battery St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.16391981276895537"}, {"id":"55537","name":"Pier 23 Cafe","lat":"37.8034","lng":"-122.401","address":"Pier 23, On The Embarcadero","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.20000975784858677"}, {"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.3690789420646817"}, {"id":"66796","name":"Park Tavern","lat":"37.8011","lng":"-122.409","address":"1652 Stockton Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.38268959082555193"}, {"id":"61738","name":"Acquolina","lat":"37.8006","lng":"-122.409","address":"1600 Stockton Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.40347598391025785"}, {"id":"102148","name":"Baonecci Ristorante","lat":"37.7998","lng":"-122.408","address":"516 Green Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.404850377377772"}, {"id":"70393","name":"Original Joe's - San Francisco","lat":"37.8004","lng":"-122.409","address":"601 Union Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4142849761278403"}, {"id":"15823","name":"Vicoletto","lat":"37.7998","lng":"-122.408","address":"550 Green Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4192655201392642"}, {"id":"149029","name":"Caffe Sport - San Francisco","lat":"37.7997","lng":"-122.409","address":"574 Green St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4374514535996771"}, {"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.44066022279943456"}, {"id":"282","name":"Ideale","lat":"37.799","lng":"-122.407","address":"1309 Grant Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.44147030135732174"}, {"id":"6366","name":"North Beach Restaurant","lat":"37.7998","lng":"-122.409","address":"1512 Stockton St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4425619443904325"}, {"id":"40714","name":"Caffe Delucchi","lat":"37.7999","lng":"-122.409","address":"500 Columbus Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4457662649990364"}, {"id":"11065","name":"Coi","lat":"37.7983","lng":"-122.403","address":"373 Broadway","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4503064659298791"}, {"id":"210625","name":"Original U.S. Restaurant Unione Sportiva","lat":"37.7991","lng":"-122.408","address":"414 Columbus Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4518157299107767"}, {"id":"376","name":"Rose Pistola","lat":"37.8","lng":"-122.41","address":"532 Columbus Avenue","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4532042269545659"}, {"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.4558710271306755"}, {"id":"40531","name":"Players Sports Grill & Arcade","lat":"37.8094","lng":"-122.41","address":"Pier 39","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.45821965441362483"}],"parking": [{"id":"5238","name":"Pier 29 ½","lat":"37.8056","lng":"-122.404","address":"1282 Embarcadero","city":"San Francisco","milesFrom":"0.05535313746702445"}, {"id":"2290","name":"Ace Parking","lat":"37.8055","lng":"-122.406","address":"55 Francisco St.","city":"San Francisco","milesFrom":"0.11942011233329738"}, {"id":"5236","name":"Pier 19 1/2","lat":"37.8023","lng":"-122.4","address":"1098 Embarcadero","city":"San Francisco","milesFrom":"0.27829024626847"}, {"id":"4847","name":"Priority Parking","lat":"37.8011","lng":"-122.4","address":"1050 Front St.","city":"San Francisco","milesFrom":"0.335969420985471"}, {"id":"5819","name":"Bridge Parking","lat":"37.7982","lng":"-122.405","address":"470 Broadway St.","city":"San Francisco","milesFrom":"0.4592576125222751"}, {"id":"4734","name":"Priority Parking","lat":"37.7988","lng":"-122.4","address":"90 Broadway St.","city":"San Francisco","milesFrom":"0.46832934836860546"}, {"id":"4960","name":"Priority Parking","lat":"37.7989","lng":"-122.399","address":"50 Broadway St.","city":"San Francisco","milesFrom":"0.49040530491033196"}, {"id":"4846","name":"Priority Parking","lat":"37.7978","lng":"-122.402","address":"825 Sansome St.","city":"San Francisco","milesFrom":"0.4958401584402078"}, {"id":"5097","name":"Propark","lat":"37.7983","lng":"-122.4","address":"750 Front St.","city":"San Fran","milesFrom":"0.49913966259664805"}, {"id":"5076","name":"American West Parking","lat":"37.7976","lng":"-122.402","address":"350 Pacific Ave.","city":"San Francisco","milesFrom":"0.5092195017579516"}, {"id":"5229","name":"Radisson Hotel Fisherman's Wharf","lat":"37.8077","lng":"-122.413","address":"250 Beach St.","city":"San Francisco","milesFrom":"0.5308425395896638"}, {"id":"3726","name":"Ace Parking","lat":"37.7968","lng":"-122.404","address":"528 Jackson St.","city":"San Francisco","milesFrom":"0.5527406155635727"}, {"id":"4610","name":"California Parking","lat":"37.7962","lng":"-122.405","address":"555 Jackson St.","city":"San Francisco","milesFrom":"0.5966242935031755"}, {"id":"2295","name":"Ace Parking","lat":"37.7953","lng":"-122.404","address":"643 Washington St.","city":"San Francisco","milesFrom":"0.6563300585375756"}, {"id":"2284","name":"Seawall Lot","lat":"37.8089","lng":"-122.415","address":"223 The Embarcadero","city":"San Francisco","milesFrom":"0.6640924316028254"}, {"id":"4552","name":"Pier 2620 Hotel","lat":"37.8055","lng":"-122.417","address":"2620 Jones St.","city":"San Francisco","milesFrom":"0.7114037813199982"}, {"id":"4344","name":"Propark","lat":"37.8057","lng":"-122.417","address":"1250 Columbus Ave.","city":"San Francisco","milesFrom":"0.7124685127069297"}, {"id":"5440","name":"Le Méridien San Francisco","lat":"37.7947","lng":"-122.401","address":"333 Battery St.","city":"San Francisco","milesFrom":"0.7166607230867872"}, {"id":"2303","name":"Ace Parking","lat":"37.7937","lng":"-122.404","address":"637 Sacramento St","city":"San Francisco","milesFrom":"0.7667727471027339"}, {"id":"2287","name":"Anchorage Square","lat":"37.8073","lng":"-122.418","address":"500 Beach St","city":"San Francisco","milesFrom":"0.783618742658159"}],"hotels": [{"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.3690774267361973"}, {"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.4502407311354174"}, {"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.5171283611293607"}, {"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.5308425395896638"}, {"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.5571624984059137"}, {"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.5571624984059137"}, {"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.6604225170565902"}, {"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.6644678472350669"}, {"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.6722548832677224"}, {"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":"0.69666031229971"}, {"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":"0.7033235319139407"}, {"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.7109699151434359"}, {"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.7663138877570186"}, {"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.771331902768924"}, {"id":"180721","name":"Omni San Francisco","lat":"37.7931","lng":"-122.403","address":"500 California Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/omni-san-francisco.html?aid=802549","class":"5","milesFrom":"0.8102589996077861"}, {"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.8341505683020586"}, {"id":"182230","name":"Hyatt Regency San Francisco","lat":"37.7941","lng":"-122.396","address":"5 Embarcadero Center","city":"San Francisco","url":"http://www.booking.com/hotel/us/hyatt-regency-san-francisco.html?aid=802549","class":"4","milesFrom":"0.858391138407637"}, {"id":"188214","name":"Mandarin Oriental San Francisco","lat":"37.7925","lng":"-122.401","address":"222 Sansome Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/mandarin-oriental-san-francisco.html?aid=802549","class":"5","milesFrom":"0.8654270647838653"}, {"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.894599600716673"}, {"id":"275469","name":"University Club of San Francisco","lat":"37.7924","lng":"-122.409","address":"800 Powell Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/university-club-of-san-fransico.html?aid=802549","class":"4","milesFrom":"0.8990567061529353"}],"notveryclose" : 11,"quiteclose" : 5,"veryclose" : 1}