var map_data = {"restaurants": [{"id":"3594","name":"MoMo's","lat":"37.7799","lng":"-122.39","address":"760 2nd St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.09191619902381074"}, {"id":"8052","name":"Paragon Restaurant & Bar - San Francisco","lat":"37.7806","lng":"-122.391","address":"701 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.13986896984227273"}, {"id":"190924","name":"EatWith","lat":"37.7786","lng":"-122.392","address":"188 King Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.15553833402433873"}, {"id":"4959","name":"Tres - SF (fka Tres Agaves)","lat":"37.7804","lng":"-122.392","address":"130 Townsend St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1748436519133812"}, {"id":"37594","name":"Saison","lat":"37.7795","lng":"-122.392","address":"178 Townsend St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1782220781268689"}, {"id":"116029","name":"District - San Francisco","lat":"37.7786","lng":"-122.393","address":"216 Townsend Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23718752336619478"}, {"id":"49783","name":"25 Lusk","lat":"37.7785","lng":"-122.394","address":"25 Lusk Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.29204938363458577"}, {"id":"3561","name":"Koh Samui & The Monkey","lat":"37.7796","lng":"-122.395","address":"415 Brannan St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3044549545342819"}, {"id":"28876","name":"Tsunami - Mission Bay","lat":"37.7762","lng":"-122.394","address":"301 King Street #B","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3340489792560834"}, {"id":"5641","name":"South Park Cafe","lat":"37.7817","lng":"-122.394","address":"108 South Park","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.35077576270451943"}, {"id":"681","name":"Alexander's Steakhouse - SF","lat":"37.7791","lng":"-122.396","address":"448 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.35672247071403473"}, {"id":"185923","name":"Caputo","lat":"37.7846","lng":"-122.389","address":"100 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.38768242090598726"}, {"id":"33421","name":"La Briciola","lat":"37.7815","lng":"-122.396","address":"489 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.42410169628750966"}, {"id":"15424","name":"Marlowe","lat":"37.7783","lng":"-122.397","address":"500 Brannan St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4341199332042899"}, {"id":"3128","name":"Fringale","lat":"37.7788","lng":"-122.397","address":"570 4th Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.44070112554409036"}, {"id":"109618","name":"Red Dog","lat":"37.7853","lng":"-122.396","address":"303 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.563776365583786"}, {"id":"145399","name":"Osha Thai 3rd Street","lat":"37.7837","lng":"-122.398","address":"311 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.6057269450315103"}, {"id":"18424","name":"Local Kitchen & Wine Merchant","lat":"37.7868","lng":"-122.394","address":"330 First Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.6088009970248167"}, {"id":"3250","name":"The Fly Trap","lat":"37.7855","lng":"-122.397","address":"606 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.633063978156243"}, {"id":"45916","name":"Benu","lat":"37.7854","lng":"-122.399","address":"22 Hawthorne Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.7057628054877894"}],"parking": [{"id":"2289","name":"Townsend Garage","lat":"37.7795","lng":"-122.392","address":"153 Townsend St.","city":"San Francisco","milesFrom":"0.16735046587962524"}, {"id":"4856","name":"Priority Parking","lat":"37.7797","lng":"-122.392","address":"148 Townsend St.","city":"San Francisco","milesFrom":"0.1707806678933296"}, {"id":"4854","name":"Priority Parking","lat":"37.7806","lng":"-122.392","address":"69 Stanford St.","city":"San Francisco","milesFrom":"0.19765968166615616"}, {"id":"2598","name":"AT&T Park - Lot A","lat":"37.7749","lng":"-122.389","address":"74 Mission Rock St.","city":"San Francisco","milesFrom":"0.28335534655738703"}, {"id":"2599","name":"AT&T Park - Lot D","lat":"37.775","lng":"-122.391","address":"1000 3rd St.","city":"San Francisco","milesFrom":"0.2970281429745625"}, {"id":"3598","name":"California Parking","lat":"37.7788","lng":"-122.396","address":"470 Brannan St.","city":"San Francisco","milesFrom":"0.3827459354479919"}, {"id":"5284","name":"Tower Valet Parking, Inc","lat":"37.7779","lng":"-122.397","address":"501 Brannan St.","city":"San Francisco","milesFrom":"0.4436297627958235"}, {"id":"5062","name":"Tower Valet Parking, Inc","lat":"37.7773","lng":"-122.398","address":"588 Brannan St.","city":"San Francisco","milesFrom":"0.5054699795793246"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.5344177453543828"}, {"id":"2601","name":"AT&T Park - Pier 30","lat":"37.7864","lng":"-122.386","address":"30 Pier","city":"San Francisco","milesFrom":"0.536933810392494"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.5617935906992068"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.6468296702205965"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.7071771185471611"}, {"id":"2288","name":"Ace Parking","lat":"37.7881","lng":"-122.395","address":"234 1st St.","city":"San Francisco","milesFrom":"0.7090695931151142"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.7245186765212169"}, {"id":"4702","name":"AT&T Park - Lot E","lat":"37.7686","lng":"-122.387","address":"455 South St.","city":"San Francisco","milesFrom":"0.726783083541224"}, {"id":"4703","name":"Impark","lat":"37.7881","lng":"-122.396","address":"505 Howard St.","city":"San Francisco","milesFrom":"0.7360875379227922"}, {"id":"4346","name":"Hills Plaza Garage","lat":"37.7904","lng":"-122.39","address":"345 Spear St.","city":"San Francisco","milesFrom":"0.7897478825521872"}, {"id":"4018","name":"California Parking","lat":"37.7757","lng":"-122.403","address":"801 Bryant St.","city":"San Francisco","milesFrom":"0.7978712534603474"}, {"id":"5493","name":"Ace Parking","lat":"37.7908","lng":"-122.392","address":"201 Spear St.","city":"San Francisco","milesFrom":"0.831552311771948"}],"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.6201194366587857"}, {"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.6468296702205965"}, {"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.7460541148003447"}, {"id":"46083","name":"Bay Bridge Inn San Francisco","lat":"37.778","lng":"-122.404","address":"966 Harrison Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/bay-bridge-inn-san-fransisco.html?aid=802549","class":"3","milesFrom":"0.8220778911637148"}, {"id":"181935","name":"InterContinental San Francisco","lat":"37.7821","lng":"-122.404","address":"888 Howard Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/inter-continental-san-francisco.html?aid=802549","class":"4","milesFrom":"0.8467161597439044"}, {"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.8590688875772768"}, {"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.9315272466830247"}, {"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.9538436866941827"}, {"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.9576019096914032"}, {"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.9671027076674019"}, {"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.9676093345590572"}, {"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.9700600979959123"}, {"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":"1.0193392568787774"}, {"id":"56077","name":"The Pickwick Hotel San Francisco","lat":"37.783","lng":"-122.407","address":"85 Fifth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/the-pickwick-san-francisco.html?aid=802549","class":"3","milesFrom":"1.0210415708040987"}, {"id":"457645","name":"Hotel Zetta San Francisco","lat":"37.7833","lng":"-122.407","address":"55 5th Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/zetta.html?aid=802549","class":"4","milesFrom":"1.0267980930256695"}, {"id":"58640","name":"Palomar San Francisco, a Kimpton Hotel","lat":"37.7854","lng":"-122.406","address":"12 Fourth Street","city":"San Francisco","url":"http://www.booking.com/hotel/us/palomar-san-francisco.html?aid=802549","class":"4","milesFrom":"1.0282778089801259"}, {"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":"1.108047638578566"}, {"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":"1.1400299160833698"}, {"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":"1.1717002197210378"}, {"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":"1.1903192113175387"}],"notveryclose" : 18,"quiteclose" : 8,"veryclose" : 1}