I want to load an offline layer (TPK file format) and a TiledServiceLayer layer, implementation shows at the same time, but can only show one of them, and the associated code sequence, in addition, set the transparency, or not, the first question, hope to get answer, thank you very much!!!!!
CodePudding user response:
Solve the building Lord, I met this problem, is also can see alone, is less than a block stackingCodePudding user response:
I solve the building Lord, at the time of creating TiledServiceLayer need to specify coordinates setDefaultSpatialReference (wkid), if is the local coordinate system, need wkid is replaced with WKT string, refer to http://www.tuicool.com/articles/y6j2EnOh ~ ~ to the point
CodePudding user response:
Me is not a local coordinate system, is 84 coordinate system, and wkid I was added,CodePudding user response:
I also encountered this problem solved, pleaseCodePudding user response:
I have already solved, why can't a could bring out a show, and it is the last loading section service mapView. AddLayer (layer) can show, after the front layer will not display, right?The reason is very simple, is your slice of hierarchical scale and front loading layer slicing than column feet caused by inconsistent, recommend that all static layer slicing scale according to the same conf. The XML definition of biopsy scale, this scale can be displayed the same,
CodePudding user response:
Coordinate different so can't overlap