     private static function createOSMLayer(layerCreationProperties:LayerCreationProperties):OpenStreetMapLayer
     {
         var osmLayer:OpenStreetMapLayer = new OpenStreetMapLayer();
-        osmLayer.copyright = layerCreationProperties.copyright;
         osmLayer.alpha = layerCreationProperties.alpha;
         osmLayer.id = layerCreationProperties.label;
         osmLayer.name = layerCreationProperties.label;
         osmLayer.visible = layerCreationProperties.visible;
         osmLayer.showInLegend = layerCreationProperties.showInLegend;
+        if (layerCreationProperties.copyright != null)
+        {
+            osmLayer.copyright = layerCreationProperties.copyright;
+        }
         if (!isNaN(layerCreationProperties.minScale))
         {
             osmLayer.minScale = layerCreationProperties.minScale;

        var geoRSSLayer:GeoRSSLayer = new GeoRSSLayer(layerCreationProperties.url);

        geoRSSLayer.alpha = layerCreationProperties.alpha;
        geoRSSLayer.copyright = layerCreationProperties.copyright;
        geoRSSLayer.id = layerCreationProperties.label;
        geoRSSLayer.name = layerCreationProperties.label;
        geoRSSLayer.disableClientCaching = layerCreationProperties.disableClientCaching;
        geoRSSLayer.showInLegend = layerCreationProperties.showInLegend;
        geoRSSLayer.visible = layerCreationProperties.visible;

        if (layerCreationProperties.serviceURL)
        {
            geoRSSLayer.serviceURL = layerCreationProperties.serviceURL;

        var featureLayer:FeatureLayer = new FeatureLayer(layerCreationProperties.url);

        featureLayer.alpha = layerCreationProperties.alpha;
        featureLayer.id = layerCreationProperties.label;
        featureLayer.gdbVersion = layerCreationProperties.gdbVersion;
        featureLayer.name = layerCreationProperties.label;
