if (layerLoadedMap.get(layer) != null) {
// add our listener for the feature loading
loader.vectorFeaturesLoadedListener(layerLoadedMap.get((Vector) layer));
}
builder.append(loader.renderBeforeConstructorJs() + ";\n");
}
return builder.toString();
}