Android - Google Map (V2) игнорирует дополнение после вызова CameraUpdateFactory.newLatLngBounds

Внутренние элементы не могут иметь измененную ширину. Вам нужно сделать этот якорь блоком или встроенным блоком, см. Здесь (дал ему зеленый фон, чтобы вы могли видеть, насколько он широк):

.filteredRestBody {
    background: none repeat scroll 0 0 white;
    border: 1px dotted #5bc0de;
    border-top-left-radius: 23px;
    box-shadow: 0 0 0 grey;
    height: auto;
    padding: 0 0 47px 8px;
    position: relative;
    top: 30px;
    width: 115%;
}

.filterThumbnails {
    background-position: 2px -19px;
    background-repeat: repeat;
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;
    height: 300px;
    margin-left: 4.3%;
    margin-top: 50px;
    width: 234px;
}

.restaurantThumbnailsTitle {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.6em;
    height: 95px;
    margin-left: -14px;
    position: relative;
    top: 44.7%;
    width: 114%;
  }

.restaurantThumbnailsTitle a {
  display: block;
  background-color: green;
}

.restaurantThumbnailsTitle a:hover { 
  background-color: white;
}
<div id="filteredRestBody" class="row filteredRestBody">
   <div id="row1" class="row">
       <div id="indianchilly" class="col-sm-4 filterThumbnails" style="background:url('images/yochinathumbbck.jpg')">
           <img src="images/bestoffers.png">
           <div id="discountNum">Discount 15%</div>
           <div class="ratingsContainer">
               <div id="restaurantThumbnailsTitle" class="restaurantThumbnailsTitle">
                   <a href="viewRestaurant.php?rest=yochina">Indian Chilly</a>
                   <p class="restaurantThumbnailsTitleText">chilled out chinese</p>
               </div>
           </div>
       </div>
   </div>
</div>

1
задан Einzig7 13 July 2018 в 16:11
поделиться