Adding a WMS layer from a 3rd party to ArcGIS via Javascript API

Discussion created by amarkj on Jan 15, 2014
Latest reply on Jan 15, 2014 by stevel

Does ArcGIS support adding a WMS layer via the Javascript API from for example this vendor (they provide parcel data):

See their code examples under "Adding Parcel WMS Layer" for like Bing Maps v7

If you run their sample code and look at the source code you'll see this is how they're adding the layer so does this work with ArcGIS?

        map = new Microsoft.Maps.Map(
                credentials: "AiH9x2VVCUZnVQPP3vYungOm7PgMCfqhdQMCgjviuBsotpZAhCWeitlskEMbkQxG",
                center: new Microsoft.Maps.Location(33.9, -117.9),
                zoom: 16,
                mapTypeId: "r"

        function afterLoad() {
            layer = new Dmp.Layer.WmsLayer("Parcels", "SS");
            layer.addChild("ParcelTiles", "DMP_LICENSE/Parcels", "", { zIndex: 3, zoomRange: { min: 16, max: 19} });