Detailed information visualization in Leaflet
Posted: Mon Jun 26, 2017 3:25 pm
Hello,
we are facing the following issue during the visualization of the detailed information of TruckAttributes in Leaflet.
Using the request, we do not get back the field 'time domain', and because of this, we cannot visualize that part of detailed information of TruckAttributes restrictions.
Is there any opportunities to get back the 'time domain', how can we do that in Leaflet?
Thanks in advance,
Best regards,
Daniel
Request:
Response:
we are facing the following issue during the visualization of the detailed information of TruckAttributes in Leaflet.
Using the request, we do not get back the field 'time domain', and because of this, we cannot visualize that part of detailed information of TruckAttributes restrictions.
Is there any opportunities to get back the 'time domain', how can we do that in Leaflet?
Thanks in advance,
Best regards,
Daniel
Request:
Code: Select all
{
"mapSection":
{
"leftTop": {"$type":"Point","point":{"$type":"PlainPoint","x":681513.4610797105,"y":6372295.928939347}},
"rightBottom":{"$type":"Point","point":{"$type":"PlainPoint","x":681666.1640734546,"y":6372143.225945605}}},
"mapParams":{"showScale":false,"useMiles":false,"referenceTime":""},"imageInfo":{"format":"PNG","width":256,"height":256},
"layers":[{"$type":"FeatureLayer","name":"PTV_TruckAttributes","visible":true,"objectInfos":"REFERENCEPOINT"}],
"includeImageInResponse":true,
"callerContext":
{
"properties":[
{"key":"Profile","value":"silkysand-bg"},
{"key":"CoordFormat","value":"PTV_MERCATOR"},
{"key":"ProfileXMLSnippet","value":"<Profile>
<FeatureLayer majorVersion='1' minorVersion='0'>
<GlobalSettings enableTimeDependency='true'/>
<Themes><Theme id='PTV_TruckAttributes' enabled='true'/><Theme id='PTV_RestrictionZones' enabled='false'/> </Themes> </FeatureLayer> </Profile>"}
]
}
}
}
Code: Select all
Response:
{
"visibleSection":
{
"$type":"VisibleSection",
"boundingBox":{"leftTop":{"$type":"Point","point":{"$type":"PlainPoint","x":681513.46108,"y":6372295.9289}},"rightBottom":{"$type":"Point","point":{"$type":"PlainPoint","x":681666.16407,"y":6372143.2259}}},
"center":{"$type":"Point","point":{"$type":"PlainPoint","x":681589.81258,"y":6372219.5774}},"scale":12},
"image":{"rawImage":"iVBOR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="},
"objects":[{
"name":"PTV_TruckAttributes",
"objects":[{"pixel":{"$type":"PlainPoint","x":126.0,"y":102.0},"ref":{"$type":"Point","point":{"$type":"PlainPoint","x":681588.53384,"y":6372235.0019}},"descr":"loadType=1|driveType=0|opening=0","hiId":1,"loId":1093307775},{"pixel":{"$type":"PlainPoint","x":126.0,"y":38.0},"ref":{"$type":"Point","point":{"$type":"PlainPoint","x":681588.53384,"y":6372273.4782}},"descr":"loadType=1|driveType=0|opening=0","hiId":1,"loId":1093307775},{"pixel":{"$type":"PlainPoint","x":150.0,"y":134.0},"ref":{"$type":"Point","point":{"$type":"PlainPoint","x":681602.96246,"y":6372215.7637}},"descr":"loadType=1|driveType=0|opening=0","hiId":1,"loId":1093307775},{"pixel":{"$type":"PlainPoint","x":215.0,"y":142.0},"ref":{"$type":"Point","point":{"$type":"PlainPoint","x":681641.43881,"y":6372210.9542}},"descr":"loadType=1|driveType=0|opening=0","hiId":1,"loId":1093307775},{"pixel":{"$type":"PlainPoint","x":255.0,"y":142.0},"ref":{"$type":"Point","point":{"$type":"PlainPoint","x":681665.48652,"y":6372210.9542}},"descr":"loadType=1|driveType=0|opening=0","hiId":1,"loId":1093307775}]}]}