variables added in template
parent
b556449580
commit
3bff6e2a75
|
@ -34,7 +34,7 @@
|
||||||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAKGJCCKvmWZl-L5bBF0uS5BWf0gN4ZkpI&callback=initMap&v=weekly" defer></script>
|
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAKGJCCKvmWZl-L5bBF0uS5BWf0gN4ZkpI&callback=initMap&v=weekly" defer></script>
|
||||||
<script>
|
<script>
|
||||||
const contentUrl = "{{url('/api/contents/'.$content->id)}}";
|
const contentUrl = "{{url('/api/contents/'.$content->id)}}";
|
||||||
const locationField = "location";
|
const locationField = "{{config('settings.location_field')}}";
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function initMap() {
|
function initMap() {
|
||||||
|
|
|
@ -106,8 +106,8 @@
|
||||||
</div>
|
</div>
|
||||||
<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
|
<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const contentUrl = "{{url('/types/locations/contents')}}";
|
const contentUrl = "{{url('/types/'.config('settings.type').'/contents')}}";
|
||||||
const locationField = "location";
|
const locationField = "{{config('settings.location_field')}}";
|
||||||
//const filterFields = ['categoria'];
|
//const filterFields = ['categoria'];
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue