adjust models to generate wms and d3 layers. indicate options.useWms if you want to use the WMS layer