
<div class="col-sm-12">
    <div class="row">
        <div class="col-sm-12 padding-zero">
            <!-- Map Search Section starts here-->
            <div class="col-sm-12 padding-zero">
            <?php if($this->session->person_id === $this->session->view_person_id){ ?>
                <div class="col-sm-5 padding-zero col-sm-offset-3 res_map_search">
                    <div class="controls">
                        <input class="form-control" id="places-search" placeholder="Search Location Here...">
                    </div>  
                </div>                
                <div class="col-sm-1 res_map_button" >                
                    <span id="addCurrentLocation" class="btn btn-success ">
                        <i class="fa fa-map-marker" aria-hidden="true"></i>
                    </span>
                </div>
            <?php } ?>
                <div id="success_message" class="col-xs-12 col-sm-3"></div>
            </div>
            <!-- Map Search section ends here-->

            <!-- Map location info section starts here-->
            <div class="col-sm-12 text-center">                
                <span id="formated_address"></span>                
                <!-- The following three input field is required for adding current location -->
                <input type="hidden" id="city_name">
                <input type="hidden" id="country_name">
                <input type="hidden" id="geo_lat_lng">
                <input type="hidden" id="geo_travel">
                <hr/>
            </div>
            <!-- Map location info section ends here-->

            <!-- Map section starts here-->
            <div class="col-sm-12">
                <div id="map"></div>
            </div>
            <!-- Map section ends here-->            
        </div>
    </div>   
</div>
