Merge pull request #8466 from benwa/gmaps-8465
Changes Google Map to be a bit more detailed
This commit is contained in:
commit
ba70e07637
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
return array (
|
return array (
|
||||||
|
|
||||||
'app_version' => 'v5.0.0-beta-4',
|
'app_version' => 'v5.0.0-beta-4',
|
||||||
'full_app_version' => 'v5.0.0-beta-4 - build 4482-g5b68a321a',
|
'full_app_version' => 'v5.0.0-beta-4 - build 4482-g5b68a321a',
|
||||||
'build_version' => '4482',
|
'build_version' => '4482',
|
||||||
|
|
|
@ -151,7 +151,7 @@
|
||||||
|
|
||||||
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
|
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-12 text-center">
|
||||||
<img src="https://maps.googleapis.com/maps/api/staticmap?center={{ urlencode($location->city.','.$location->city.' '.$location->state.' '.$location->country.' '.$location->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-responsive img-thumbnail" alt="Map">
|
<img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($location->address.','.$location->city.' '.$location->state.' '.$location->country.' '.$location->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-responsive img-thumbnail" alt="Map">
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@
|
||||||
|
|
||||||
@if (($supplier->state!='') && ($supplier->country!='') && (config('services.google.maps_api_key')))
|
@if (($supplier->state!='') && ($supplier->country!='') && (config('services.google.maps_api_key')))
|
||||||
<div class="col-md-12 text-center" style="padding-bottom: 20px;">
|
<div class="col-md-12 text-center" style="padding-bottom: 20px;">
|
||||||
<img src="https://maps.googleapis.com/maps/api/staticmap?center={{ urlencode($supplier->city.','.$supplier->city.' '.$supplier->state.' '.$supplier->country.' '.$supplier->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-responsive img-thumbnail" alt="Map">
|
<img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($supplier->address.','.$supplier->city.' '.$supplier->state.' '.$supplier->country.' '.$supplier->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-responsive img-thumbnail" alt="Map">
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue