added variables config
parent
4316857b5e
commit
89770328b9
|
@ -116,8 +116,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/'.config('settings.type').'/contents')}}";
|
const contentUrl = "{{url('/types/'.$_type.'/contents')}}";
|
||||||
const locationField = "{{config('settings.location_field')}}";
|
const locationField = "{{$_location_field}}";
|
||||||
//const filterFields = ['categoria'];
|
//const filterFields = ['categoria'];
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Type",
|
||||||
|
"value": "Place",
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Location Field",
|
||||||
|
"value": "Address",
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue