Hi all
In my UDT, I’m trying to store a map marker object using an expression tag with the datatype of document.
Below is the object with references to lat {[.]user_latitude}
and lng {[.]user_longitude}
tag values in the object
{
"name":"",
"properties": {},
"lat": {[.]user_latitude},
"lng": {[.]user_longitude},
"opacity": 1,
"icon": {
"path": "material/location_on",
"color": "#4190F7",
"size": {
"width": 36,
"height": 36
},
"style": {
"classes": ""
}
},
"event": {
"stopPropagation": False
},
"tooltip": {
"content": {
"text": "",
"view": {
"path": "",
"params": {}
}
},
"direction": "top",
"permanent": True,
"sticky": True,
"opacity": 1
},
"popup": {
"enabled": False,
"content": {
"text": "",
"view": {
"path": "",
"params": {}
}
},
"width": {
"max": 300,
"min": 50
},
"height": {
"max": None
},
"pan": {
"auto": True
},
"closeButton": True,
"autoClose": True,
"closeOnEscapeKey": True,
"closeOnClick": None
}
I’m trying this method to see if I can reduce processing in the view.
Is this possible in expression language?