{"renderer":{"type":"simple","symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[100,200,200,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[110,110,110,255],"width":0.7}}},"scaleSymbols":true,"transparency":1,"labelingInfo":[{"labelExpressionInfo":{"expression":"//Alert Date\nvar alertDate = text($feature.AlertTime, \"D MMM Y\")\n//Alert Time\nvar alertTime = text($feature.AlertTime, \"HH:mm\")\n//Start Date\nvar startDate = text($feature.ActiveTime, \"D MMM Y\")\n//Start Time\nvar startTime = text($feature.ActiveTime, \"HH:mm\")\n//End Date\nvar endDate = text($feature.EndTime,\"D MMM Y\")\n//End Time\nvar endTime = text($feature.EndTime, \"HH:mm\")\n//declare logic variables\nvar currentTime = now()\nvar warnTime = $feature.AlertTime\nvar activeTime = $feature.ActiveTime\nvar activeEnd = $feature.EndTime\n\nvar inactiveWillBeAlert = concatenate(\"Area is currently inactive, but will be alert on \",alertDate, \" at \",alertTime)\nvar alertGoingActive = concatenate(\"Area is currently on alert beginning \",alertDate, \" at \",alertTime, \" and will go active on \", startDate, \" at \", startTime)\nvar alertNow = concatenate(\"Area is active until \",endDate, \" at \",endTime)\n//is alert in the future?\nif (currentTime <= warnTime){\n\treturn inactiveWillBeAlert\n\t\t\t} else {\n\t\t\t//is it now between alert and active?\n\t\t\tif (currentTime >= warnTime && currentTime <= activeTime){\n \t\t\treturn alertGoingActive\n\t\t\t\t} else {\n\t\t\t\t//is it between active and end?\n\t\t\t\tif (currentTime >= activeTime && currentTime <= activeEnd){\n\t\t\t return alertNow\n\t\t\t\t\t} else{\n\t\t\t\t\treturn \"Area is not currently scheduled or active\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n"},"labelPlacement":"esriServerPolygonPlacementAlwaysHorizontal","multiPart":"labelLargest","allowOverrun":false,"deconflictionStrategy":"static","repeatLabel":false,"stackLabel":false,"removeDuplicates":"all","removeDuplicatesDistance":0,"useCodedValues":true,"maxScale":0,"minScale":0,"name":"Custom","priority":0,"symbol":{"type":"esriTS","color":[51,51,51,255],"backgroundColor":null,"borderLineColor":null,"borderLineSize":null,"verticalAlignment":"baseline","horizontalAlignment":"center","rightToLeft":false,"angle":0,"xoffset":0,"yoffset":0,"kerning":true,"haloColor":null,"haloSize":null,"font":{"family":"Arial","size":10,"style":"normal","weight":"bold","decoration":"none"}}}]}
HasZ: true
HasM: false
Time Info:
Start Time Field: ALERTTIME
End Time Field: ENDTIME
Track ID Field: null
Time Extent
[11/7/2019 5:00:00 AM UTC, 3/2/2020 5:00:00 AM UTC]
Time Reference: UTC
Time Interval: 0
Time Interval Units:
Has Live Data: false
Export Options:
Use Time: false
Time Data Cumulative: false
Time Offset: 0
Time Offset Units: esriTimeUnitsCenturies
Has Attachments: false
Has Geometry Properties: true
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText