moved layer creation into a function so the renderers can override it when two layers are needed
moved layer creation into a function so the renderers can override it when two layers are needed

jgravois/esri-leaflet,jgravois/esri-leaflet,jgravois/esri-leaflet