Click on the map above to see the relationship between the two layers.
This creates a quick map to compare two ASGS boundaries (in this case SA4 and CED12).
It uses the esri-leaflet tools at http://esri.github.io/esri-leaflet/ on top of leaflet 0.7x and the ABS geospatial web services at http://censusdata.abs.gov.au/arcgis/rest/services
The ABS layers are currently served on their MapServer as a dynamicMapLayer (to be safe, although some can be shown as a tiledMapLayer if they have a fused cache)
The key line is this one:
L.esri.dynamicMapLayer("https://censusdata.abs.gov.au/arcgis/rest/services/2011_SA4/MapServer", {useCors: false}).addTo(map);
Enjoy!