AnsweredAssumed Answered

How to change the TiledMapServiceLayer's spatialReference?

Question asked by NEFU@BEN on Mar 30, 2017
Latest reply on Mar 30, 2017 by NEFU@BEN

  Hello,everybody!I have met a problem recently.

  I want to load two tiledMapServiceLayer with different spatialreference.But when i load one layer successfully,another layer would be loaded unsuccessfully.Here is the code of the tiledMapServiceLayer.

MapServiceLayer1.js

    Part.declare

    Part.getTileUrl

MapSerivceLayer2.js

     Declare:

code for change two layer:

Thank you for your suggestion!

Outcomes