export class LeafletDrawUtil { param dest param src static deepLiteralCopy < T > ( dest , src ) { const toReturn = dest ; if ( null != src ) { for ( const k in src ) { if ( src . hasOwnProperty ( k ) ) { if ( typeof ( src [ k ] ) === 'string' || src [ k ] instanceof String ) { toReturn [ k ] = src [ k ] ; } else { this . deepLiteralCopy ( toReturn [ k ] , src [ k ] ) ; } } } } return toReturn ; } }