[WIP] Setup of skeleton
This commit is contained in:
12
resources/views/cornford/googlmapper/overlay.blade.php
Normal file
12
resources/views/cornford/googlmapper/overlay.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
var overlayCoordinates_{!! $id !!} = new google.maps.LatLngBounds(
|
||||
@foreach ($options['coordinates'] as $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!}),
|
||||
@endforeach
|
||||
);
|
||||
|
||||
overlay_{!! $id !!} = new google.maps.GroundOverlay(
|
||||
'{!! $options['image'] !!}',
|
||||
overlayCoordinates_{!! $id !!}
|
||||
);
|
||||
|
||||
overlay_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
Reference in New Issue
Block a user