var map_data = {"restaurants": [{"id":"1101","name":"Palomino - San Francisco","lat":"37.7898","lng":"-122.39","address":"345 Spear St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.12241049650308414"}, {"id":"17035","name":"Waterbar","lat":"37.7904","lng":"-122.389","address":"399 The Embarcadero South","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13166307538325364"}, {"id":"17032","name":"EPIC Steak","lat":"37.7906","lng":"-122.389","address":"369 The Embarcadero","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1448490445212035"}, {"id":"45907","name":"Prospect","lat":"37.79","lng":"-122.391","address":"300 Spear Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1868720903297734"}, {"id":"185923","name":"Caputo","lat":"37.7846","lng":"-122.389","address":"100 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.28529813309610386"}, {"id":"1414","name":"Ozumo - San Francisco","lat":"37.7926","lng":"-122.392","address":"161 Steuart Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.35705283911115665"}, {"id":"18424","name":"Local Kitchen & Wine Merchant","lat":"37.7868","lng":"-122.394","address":"330 First Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.36441486016032015"}, {"id":"25789","name":"Perry's - Embarcadero","lat":"37.7929","lng":"-122.392","address":"155 Steuart Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3687780633226914"}, {"id":"2777","name":"Town Hall","lat":"37.7895","lng":"-122.395","address":"342 Howard St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3740958955244784"}, {"id":"2005","name":"Chaya Brasserie","lat":"37.7932","lng":"-122.392","address":"132 The Embarcadero (between Mission & Howard)","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.38253566759011903"}, {"id":"149530","name":"Yank Sing - Rincon Center","lat":"37.7925","lng":"-122.393","address":"101 Spear Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.395918357492669"}, {"id":"130","name":"Boulevard","lat":"37.7933","lng":"-122.393","address":"1 Mission St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.41166566369112945"}, {"id":"3972","name":"Americano Restaurant - Hotel Vitale","lat":"37.7936","lng":"-122.393","address":"8 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.42704600281494676"}, {"id":"95185","name":"Rosa Mexicano - San Francisco","lat":"37.7933","lng":"-122.394","address":"30 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4407270420649443"}, {"id":"31072","name":"RN74","lat":"37.7907","lng":"-122.396","address":"301 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4487473380704119"}, {"id":"109618","name":"Red Dog","lat":"37.7853","lng":"-122.396","address":"303 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.47561790092704576"}, {"id":"4","name":"One Market Restaurant","lat":"37.7938","lng":"-122.395","address":"1 Market Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5243192828922697"}, {"id":"187489","name":"Barcha","lat":"37.791","lng":"-122.397","address":"28 Fremont Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5413542910207428"}, {"id":"3250","name":"The Fly Trap","lat":"37.7855","lng":"-122.397","address":"606 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.5441917899826785"}, {"id":"149290","name":"Boulettes Larder & Boulibar","lat":"37.7954","lng":"-122.394","address":"1 Ferry Building, Suite 35","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.556511038632003"}],"parking": [{"id":"4346","name":"Hills Plaza Garage","lat":"37.7904","lng":"-122.39","address":"345 Spear St.","city":"San Francisco","milesFrom":"0.16041881071855235"}, {"id":"2601","name":"AT&T Park - Pier 30","lat":"37.7864","lng":"-122.386","address":"30 Pier","city":"San Francisco","milesFrom":"0.19281427080393163"}, {"id":"5493","name":"Ace Parking","lat":"37.7908","lng":"-122.392","address":"201 Spear St.","city":"San Francisco","milesFrom":"0.26205454887581076"}, {"id":"4073","name":"Bayside Plaza Garage","lat":"37.7922","lng":"-122.392","address":"181 Steuart St.","city":"San Francisco","milesFrom":"0.32569579802616727"}, {"id":"2281","name":"Ace Parking","lat":"37.7908","lng":"-122.394","address":"201 Mission St","city":"San Francisco","milesFrom":"0.3581089730187475"}, {"id":"2288","name":"Ace Parking","lat":"37.7881","lng":"-122.395","address":"234 1st St.","city":"San Francisco","milesFrom":"0.38426948475416606"}, {"id":"4703","name":"Impark","lat":"37.7881","lng":"-122.396","address":"505 Howard St.","city":"San Francisco","milesFrom":"0.4389826019027312"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.5283117338110752"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.528439652165801"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.5633787539497376"}, {"id":"2291","name":"Ace Parking","lat":"37.7915","lng":"-122.398","address":"333 Market St","city":"San Francisco","milesFrom":"0.5794228902894174"}, {"id":"5517","name":"388 Market St. Building Garage","lat":"37.7921","lng":"-122.398","address":"36 Front St.","city":"San Francisco","milesFrom":"0.5945199618068943"}, {"id":"4854","name":"Priority Parking","lat":"37.7806","lng":"-122.392","address":"69 Stanford St.","city":"San Francisco","milesFrom":"0.6006724775021594"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.6011163589434294"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.640178326301791"}, {"id":"4856","name":"Priority Parking","lat":"37.7797","lng":"-122.392","address":"148 Townsend St.","city":"San Francisco","milesFrom":"0.6590130954846968"}, {"id":"2289","name":"Townsend Garage","lat":"37.7795","lng":"-122.392","address":"153 Townsend St.","city":"San Francisco","milesFrom":"0.6722103455953653"}, {"id":"4804","name":"Propark","lat":"37.7938","lng":"-122.4","address":"275 Battery St.","city":"San Francisco","milesFrom":"0.7440596437231016"}, {"id":"4350","name":"Propark","lat":"37.7909","lng":"-122.402","address":"225 Bush St.","city":"San Francisco","milesFrom":"0.7794534968126982"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.8071565398476571"}],"hotels": [{"id":"1138346","name":"South Beach Suites","lat":"37.7874","lng":"-122.393","address":"333 Fremont Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/south-beach-condos.html?aid=802549","class":"4","milesFrom":"0.287305034017793"}, {"id":"180764","name":"Harbor Court, a Kimpton Hotel","lat":"37.7926","lng":"-122.392","address":"165 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/harbor-court.html?aid=802549","class":"4","milesFrom":"0.34673162804617663"}, {"id":"56920","name":"Hotel Griffon","lat":"37.7928","lng":"-122.392","address":"155 Steuart Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/griffon-san-francisco.html?aid=802549","class":"3","milesFrom":"0.35769333339430703"}, {"id":"27744","name":"Hotel Vitale, a Joie de Vivre Hotel","lat":"37.7936","lng":"-122.393","address":"8 Mission Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/vitale.html?aid=802549","class":"4","milesFrom":"0.4347458332764187"}, {"id":"262874","name":"Courtyard by Marriott San Francisco Downtown","lat":"37.7859","lng":"-122.397","address":"299 Second Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/courtyard-san-francisco-downtown.html?aid=802549","class":"3","milesFrom":"0.5283117338110752"}, {"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.5747038235862878"}, {"id":"58525","name":"W San Francisco","lat":"37.7854","lng":"-122.4","address":"181 Third Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/w-san-francisco.html?aid=802549","class":"4","milesFrom":"0.6938748192508365"}, {"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.7568782147722224"}, {"id":"58952","name":"Palace Hotel","lat":"37.7883","lng":"-122.402","address":"2 New Montgomery Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/palace-sf.html?aid=802549","class":"4","milesFrom":"0.7649857232251023"}, {"id":"58524","name":"St. Regis San Francisco","lat":"37.786","lng":"-122.402","address":"125 Third Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/st-regis-san-francisco.html?aid=802549","class":"5","milesFrom":"0.7869447651104814"}, {"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.8290898321741828"}, {"id":"58476","name":"The Westin San Francisco Market Street","lat":"37.7867","lng":"-122.403","address":"50 3rd Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-westin-san-francisco-market-street.html?aid=802549","class":"4","milesFrom":"0.8306339152831319"}, {"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.8326506543528879"}, {"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.8736029255474859"}, {"id":"56192","name":"Galleria Park, a Joie de Vivre Hotel","lat":"37.7898","lng":"-122.404","address":"191 Sutter Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/galleria-park.html?aid=802549","class":"3","milesFrom":"0.8769206264995679"}, {"id":"180980","name":"Triton, a Kimpton Hotel","lat":"37.7903","lng":"-122.405","address":"342 Grant Avenue","city":"San Francisco","url":"http://www.booking.com/hotel/us/triton.html?aid=802549","class":"4","milesFrom":"0.9347487237039788"}, {"id":"56183","name":"Orchard Garden Hotel","lat":"37.7907","lng":"-122.405","address":"466 Bush Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/orchard-garden.html?aid=802549","class":"3","milesFrom":"0.9384188020400958"}, {"id":"187727","name":"Four Seasons Hotel San Francisco","lat":"37.7866","lng":"-122.405","address":"757 Market Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/four-seasons-san-francisco.html?aid=802549","class":"5","milesFrom":"0.9395180962972686"}, {"id":"262877","name":"San Francisco Marriott Marquis","lat":"37.7851","lng":"-122.405","address":"780 Mission Street ","city":"San Francisco","url":"http://www.booking.com/hotel/us/marriott-marquis-san-francisco.html?aid=802549","class":"4","milesFrom":"0.9610059083563678"}, {"id":"56069","name":"The Mosser Hotel","lat":"37.785","lng":"-122.405","address":"54 4th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-mosser-san-francisco.html?aid=802549","class":"3","milesFrom":"0.9628037204830946"}],"notveryclose" : 20,"quiteclose" : 6,"veryclose" : 0}