Select to view content in your preferred language

I was in trouble to add a third party WMTS to ArcGIS server by Flex

1942
0
03-20-2013 07:22 AM
zhangwei2
New Contributor
Hi, all

can any one help to take a look at my WMTS from http://hoatech.com/ecwp/ecw_wmts.dll?service=WMTS&request=getcapabilities

how to overlay this WMTS onto a ArcGIS openstreet map? I tried with the sample code but failed to add it in.

Here also a WMS for the same layer, can anyone please help to check how to add this service by flex?
http://hoiatech.com/ecwp/ecw_wms.dll?service=WMS&request=getcapabilities

I simply use the code below to test, but it does not work, no map displayed.

<esri:Map id="map">
  <esri:extent>
   <esri:Extent xmin="12658344" ymin="2518455" xmax="12749663" ymax="2587025">
    <esri:SpatialReference wkid="102100"/>
   </esri:Extent>
  </esri:extent>
  <esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
  <esri:KMLLayer id="earthquakes" name="Latest earthquakes"
        load="earthquakes_loadHandler(event)"
      
        loadError="earthquakes_loadErrorHandler(event)"
        url="http://hoiatech.com/demo/images.kml"/>
  <esri:WMSLayer skipGetCapabilities="true"
        url="http://hoiatech.com/ecwp/ecw_wms.dll"
        version="1.3.0">
   <esri:visibleLayers>
    <s:ArrayList>
     <fx:String>dop</fx:String>
    </s:ArrayList>
   </esri:visibleLayers>
  </esri:WMSLayer>
</esri:Map>
Tags (2)
0 Kudos
0 Replies