var map_data = {"restaurants": [{"id":"185923","name":"Caputo","lat":"37.7846","lng":"-122.389","address":"100 Brannan Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.1160593419332755"}, {"id":"18424","name":"Local Kitchen & Wine Merchant","lat":"37.7868","lng":"-122.394","address":"330 First Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.23837122700030094"}, {"id":"1101","name":"Palomino - San Francisco","lat":"37.7898","lng":"-122.39","address":"345 Spear St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.269978221957634"}, {"id":"45907","name":"Prospect","lat":"37.79","lng":"-122.391","address":"300 Spear Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.29136279163172185"}, {"id":"109618","name":"Red Dog","lat":"37.7853","lng":"-122.396","address":"303 Second Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3070134788582351"}, {"id":"17035","name":"Waterbar","lat":"37.7904","lng":"-122.389","address":"399 The Embarcadero South","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.31852428363663776"}, {"id":"17032","name":"EPIC Steak","lat":"37.7906","lng":"-122.389","address":"369 The Embarcadero","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3282536579710331"}, {"id":"2777","name":"Town Hall","lat":"37.7895","lng":"-122.395","address":"342 Howard St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3621688483809714"}, {"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.3659675051688362"}, {"id":"5641","name":"South Park Cafe","lat":"37.7817","lng":"-122.394","address":"108 South Park","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.380599184727748"}, {"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.38906159432796394"}, {"id":"3250","name":"The Fly Trap","lat":"37.7855","lng":"-122.397","address":"606 Folsom Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.3899530904471864"}, {"id":"3594","name":"MoMo's","lat":"37.7799","lng":"-122.39","address":"760 2nd St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.41754189948645504"}, {"id":"33421","name":"La Briciola","lat":"37.7815","lng":"-122.396","address":"489 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.44925524426432556"}, {"id":"37594","name":"Saison","lat":"37.7795","lng":"-122.392","address":"178 Townsend St.","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4591582537638676"}, {"id":"31072","name":"RN74","lat":"37.7907","lng":"-122.396","address":"301 Mission Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.46048708862435267"}, {"id":"185500","name":"Ristorante Umbria","lat":"37.7868","lng":"-122.399","address":"198 2nd Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.46995737305946217"}, {"id":"1414","name":"Ozumo - San Francisco","lat":"37.7926","lng":"-122.392","address":"161 Steuart Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.477917281206912"}, {"id":"145399","name":"Osha Thai 3rd Street","lat":"37.7837","lng":"-122.398","address":"311 Third Street","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.4842745904193858"}, {"id":"7696","name":"Salt House","lat":"37.7887","lng":"-122.398","address":"545 Mission St","cuisine":"","style":"","avgMain":"","avgTotal":"","price":"","milesFrom":"0.494069493313846"}],"parking": [{"id":"2601","name":"AT&T Park - Pier 30","lat":"37.7864","lng":"-122.386","address":"30 Pier","city":"San Francisco","milesFrom":"0.2210260401687151"}, {"id":"4346","name":"Hills Plaza Garage","lat":"37.7904","lng":"-122.39","address":"345 Spear St.","city":"San Francisco","milesFrom":"0.3110319152908993"}, {"id":"2288","name":"Ace Parking","lat":"37.7881","lng":"-122.395","address":"234 1st St.","city":"San Francisco","milesFrom":"0.31240761436269276"}, {"id":"4735","name":"Priority Parking","lat":"37.7844","lng":"-122.396","address":"350 2nd St.","city":"San Francisco","milesFrom":"0.34386359673783057"}, {"id":"5493","name":"Ace Parking","lat":"37.7908","lng":"-122.392","address":"201 Spear St.","city":"San Francisco","milesFrom":"0.3556111502446749"}, {"id":"4703","name":"Impark","lat":"37.7881","lng":"-122.396","address":"505 Howard St.","city":"San Francisco","milesFrom":"0.36143766172060515"}, {"id":"4854","name":"Priority Parking","lat":"37.7806","lng":"-122.392","address":"69 Stanford St.","city":"San Francisco","milesFrom":"0.3820483131181543"}, {"id":"5077","name":"Marriott Courtyard Downtown","lat":"37.7859","lng":"-122.397","address":"299 2nd St","city":"San Francisco","milesFrom":"0.3824642119485697"}, {"id":"2281","name":"Ace Parking","lat":"37.7908","lng":"-122.394","address":"201 Mission St","city":"San Francisco","milesFrom":"0.40274348469062815"}, {"id":"4853","name":"Priority Parking","lat":"37.7867","lng":"-122.398","address":"201 2nd St.","city":"San Francisco","milesFrom":"0.4405314883010936"}, {"id":"4856","name":"Priority Parking","lat":"37.7797","lng":"-122.392","address":"148 Townsend St.","city":"San Francisco","milesFrom":"0.4420190913894283"}, {"id":"4073","name":"Bayside Plaza Garage","lat":"37.7922","lng":"-122.392","address":"181 Steuart St.","city":"San Francisco","milesFrom":"0.44866100919544516"}, {"id":"2289","name":"Townsend Garage","lat":"37.7795","lng":"-122.392","address":"153 Townsend St.","city":"San Francisco","milesFrom":"0.45556955491053586"}, {"id":"4000","name":"Ace Parking","lat":"37.7855","lng":"-122.399","address":"55 Hawthorne St.","city":"San Francisco","milesFrom":"0.49240042665381856"}, {"id":"4852","name":"85 Second St Garage","lat":"37.7884","lng":"-122.399","address":"588 Mission St.","city":"San Francisco","milesFrom":"0.521047414431049"}, {"id":"2291","name":"Ace Parking","lat":"37.7915","lng":"-122.398","address":"333 Market St","city":"San Francisco","milesFrom":"0.5837104495396065"}, {"id":"3598","name":"California Parking","lat":"37.7788","lng":"-122.396","address":"470 Brannan St.","city":"San Francisco","milesFrom":"0.5900367613086059"}, {"id":"4845","name":"Priority Parking","lat":"37.7809","lng":"-122.399","address":"777 Harrison St.","city":"San Francisco","milesFrom":"0.6009327263324997"}, {"id":"5517","name":"388 Market St. Building Garage","lat":"37.7921","lng":"-122.398","address":"36 Front St.","city":"San Francisco","milesFrom":"0.6119271339958879"}, {"id":"5284","name":"Tower Valet Parking, Inc","lat":"37.7779","lng":"-122.397","address":"501 Brannan St.","city":"San Francisco","milesFrom":"0.6721732619972594"}],"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.19375054569055888"}, {"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.3824642119485697"}, {"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.4755536436840326"}, {"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.4891612345679412"}, {"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.5472911050565349"}, {"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.5565449293359416"}, {"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.6547200144818873"}, {"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.6553907357644145"}, {"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.6759918173453622"}, {"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.7120843907804131"}, {"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.754215447532867"}, {"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.8083510357336557"}, {"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.8105651576568893"}, {"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.8205052514154371"}, {"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.8209626703735737"}, {"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.8214537545118229"}, {"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.8645951281427744"}, {"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.866804985153957"}, {"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.8695366108954582"}, {"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.873632022742349"}],"notveryclose" : 22,"quiteclose" : 2,"veryclose" : 0}