[mapguide-users] Mapguide 3.0 - Composite style not displaying in fusion legend
Mark Volz (LeapCAD)
mark at leap-cad.com
Mon Sep 7 11:13:07 PDT 2015
Jackie,
Yes the composite styles do have a value set in the
runtimemap\layer\ScaleRange\FeatureStyle\rule\icon
Interestingly the values are different between 2 composite, so it Is not
just picking up a default style.
Below is a copy of the JSON;
{"RuntimeMap":{"@version":["3.0.0"],"@xmlns:xsi":["http://www.w3.org/2001/XM
LSchema-instance"],"@xsi:noNamespaceSchemaLocation":["RuntimeMap-3.0.0.xsd"]
,"BackgroundColor":["ffffffff"],"CoordinateSystem":[{"EpsgCode":["3857"],"Me
ntorCode":["WGS84.PseudoMercator"],"MetersPerUnit":["1"],"Wkt":["PROJCS[\"WG
S84.PseudoMercator\",GEOGCS[\"LL84\",DATUM[\"WGS84\",SPHEROID[\"WGS84\",6378
137.000,298.25722293]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.01745329251
9943295]],PROJECTION[\"Popular Visualisation Pseudo
Mercator\"],PARAMETER[\"false_easting\",0.000],PARAMETER[\"false_northing\",
0.000],PARAMETER[\"central_meridian\",0.00000000000000],UNIT[\"Meter\",1.000
00000000000]]"]}],"DisplayDpi":["96"],"Extents":[{"LowerLeftCoordinate":[{"X
":["13941204.309762172"],"Y":["-1045038.0637799533"]}],"UpperRightCoordinate
":[{"X":["14071718.113563014"],"Y":["-949375.83516509994"]}]}],"IconMimeType
":["image/gif"],"Layer":[{"ActuallyVisible":["true"],"DisplayInLegend":["tru
e"],"ExpandInLegend":["true"],"FeatureSource":[{"ClassName":["Default:Airpor
ts"],"Geometry":["Geometry"],"ResourceId":["Library://IPG/Data/Airports.Feat
ureSource"]}],"LayerDefinition":["Library://IPG/Layers/Airports_mark.LayerDe
finition"],"LegendLabel":["Airports_mark"],"Name":["Airports_mark"],"ObjectI
d":["90f35dc6-5589-11e5-8001-80ee7331b0d1"],"ScaleRange":[{"FeatureStyle":[{
"Rule":[{"Filter":null,"Icon":["R0lGODlhEAAQAIQAAAQCBJyenFRSVNza3Dw+PAwODLSy
tGxqbPz6/AwKDBQWFLy6vHx+fAQGBKyurOTm5BQSFGxubPz+/Ly+vP///wAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABQALAAAAAAQABAAAAVeICWOFACQKJoUaQskydmSgKLI
s9hER5OPkMkEkgJAjscCAlFAHk2FQmCxGEgkA2ogenoVDNewxFCI0RIMMcNcFIgFONT3QSA8yK6E
o7xysM9sL38jK3EAZUVxIiYjIQA7"],"LegendLabel":null}],"Type":["1"]}],"MaxScale
":["1000000000000"],"MinScale":["0"]}],"Selectable":["true"],"Type":["1"],"V
isible":["true"]},{"ActuallyVisible":["true"],"DisplayInLegend":["true"],"Ex
pandInLegend":["true"],"FeatureSource":[{"ClassName":["Default:Health_Hospit
al"],"Geometry":["Geometry"],"ResourceId":["Library://IPG/Data/Health_Hospit
al.FeatureSource"]}],"LayerDefinition":["Library://IPG/Layers/Health_Hospita
l.LayerDefinition"],"LegendLabel":["Health_Hospital"],"Name":["Health_Hospit
al"],"ObjectId":["90f5c00c-5589-11e5-8000-80ee7331b0d1"],"ScaleRange":[{"Fea
tureStyle":[{"Rule":[{"Filter":null,"Icon":["R0lGODlhEAAQAMIAAAQmTIQeTCQuXBQ
yZAQmXPQKNP///wAAACH5BAEAAAYALAAAAAAQABAAAANCaKowEQOsuVopkVKLpa7DlX1M2G1AChD
mQKjpIM/CJcxzcO18//TAHQQ3qBVuRNiq9YJtWh4SZySFkkqi6KfxoCoSADs="]}],"Type":["4
"]}],"MaxScale":["1000000000000"],"MinScale":["0"]}],"Selectable":["true"],"
Type":["1"],"Visible":["true"]},{"ActuallyVisible":["true"],"DisplayInLegend
":["true"],"ExpandInLegend":["true"],"FeatureSource":[{"ClassName":["Default
:PROJECTS"],"Geometry":["Geometry"],"ResourceId":["Library://IPG/Data/PROJEC
TS.FeatureSource"]}],"LayerDefinition":["Library://IPG/Layers/PROJECTS.Layer
Definition"],"LegendLabel":["PROJECTS"],"Name":["PROJECTS"],"ObjectId":["90f
5c00c-5589-11e5-8001-80ee7331b0d1"],"ScaleRange":[{"FeatureStyle":[{"Rule":[
{"Filter":null,"Icon":["R0lGODlhEAAQAOMAAAQCBETSBNRyDHS2BORqBAT+BNxuDMSCBP//
/wAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAgALAAAAAAQABAAAARBEMkJhAAza3IO0WAVBBeY
cUXhmZKYkpiJpuoXCgFdwOCsrxmXblea+IZAhHBIjB2ZqyWz+Zx6cNMhyTDoer9fQwQAOw=="]}]
,"Type":["4"]}],"MaxScale":["1000000000000"],"MinScale":["0"]}],"Selectable"
:["true"],"Type":["1"],"Visible":["true"]},{"ActuallyVisible":["true"],"Disp
layInLegend":["true"],"ExpandInLegend":["true"],"FeatureSource":[{"ClassName
":["Default:Airports"],"Geometry":["Geometry"],"ResourceId":["Library://IPG/
Data/Airports.FeatureSource"]}],"LayerDefinition":["Library://IPG/Layers/Air
ports.LayerDefinition"],"LegendLabel":["Airports"],"Name":["Airports"],"Obje
ctId":["90f82270-5589-11e5-8000-80ee7331b0d1"],"ScaleRange":[{"FeatureStyle"
:[{"Rule":[{"Filter":null,"Icon":["R0lGODlhEAAQAIAAAAQCBP///yH5BAEAAAEALAAAA
AAQABAAAAIjjI+py+0IYjxyVkkvvoaH+mkZMFomRGpTwoEP9oTku8Zz7BQAOw=="]}],"Type":[
"4"]}],"MaxScale":["1000000000000"],"MinScale":["0"]}],"Selectable":["true"]
,"Type":["1"],"Visible":["true"]}],"MapDefinition":["Library://IPG/Maps/mark
_test.MapDefinition"],"Name":["mark_test1441648513025"],"SessionId":["8f331d
96-5589-11e5-8000-80ee7331b0d1_en_MTI3LjAuMC4x0AFC0AFB0AFA"],"SiteVersion":[
"3.0.0.8701"]}}
More information about the mapguide-users
mailing list